summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2009-07-07 14:11:18 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2009-07-10 08:43:37 +0200
commit50f95180b5611a3efbadfb58555ba6a597f0c40b (patch)
tree4ebaee0982e1d9a3d0c02220046cb370263e28bf /HACKING
parent30fc2561a2beefe095ec612d9e531eba614a1eb9 (diff)
logging: set SYNCEVOLUTION_DEBUG to disable redirection
The environment variable SYNCEVOLUTION_DEBUG is checked by LogRedirect itself (instead of in its caller) so that all users of the class behave identically. The value of the variable currently doesn't matter. Later it might also be used to enable or disable specific debugging aspects.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING6
1 files changed, 6 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 72bc88d1..fe77fc64 100644
--- a/HACKING
+++ b/HACKING
@@ -208,3 +208,9 @@ Debugging
The following packages contain debug information for
relevant libraries on Ubuntu 7.10:
evolution-data-server-dbg libglib2.0-0-dbg evolution-dbg
+
+Normally, syncevolution redirects stderr to its own log file. In
+crash scenarios the final error messages may get lost. To debug such
+cases, disable redirection by setting the environment variable
+SYNCEVOLUTION_DEBUG (value doesn't matter) and capture the output
+normally.