D-Bus testing: enable syncevo-dbus-server debug logging

Set SYNCEVOLUTION_DEBUG=1 before starting syncevo-dbus-log so that we
get a higher log level and the output into the regular stdout of the
process.
This commit is contained in:
Patrick Ohly 2011-07-11 22:20:22 +02:00
parent 0d4226c60b
commit d8a8c161bb
1 changed files with 4 additions and 0 deletions

View File

@ -287,6 +287,10 @@ class DBusUtil(Timeout):
var, value = assignment.split("=")
env[var] = value
# always print all debug output directly (no output redirection),
# and increase log level
env["SYNCEVOLUTION_DEBUG"] = "1"
dbuslog = "dbus.log"
syncevolog = "syncevo.log"
pmonitor = subprocess.Popen(monitor,