summaryrefslogtreecommitdiff
path: root/source4/python/py_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/python/py_common.c')
-rw-r--r--source4/python/py_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/python/py_common.c b/source4/python/py_common.c
index ea092d9370..d42b54e533 100644
--- a/source4/python/py_common.c
+++ b/source4/python/py_common.c
@@ -104,11 +104,11 @@ PyObject *py_setup_logging(PyObject *self, PyObject *args, PyObject *kw)
}
if (interactive)
- setup_logging("spoolss", True);
+ setup_logging("spoolss", DEBUG_STDOUT);
if (logfilename) {
lp_set_logfile(logfilename);
- setup_logging(logfilename, False);
+ setup_logging(logfilename, DEBUG_FILE );
reopen_logs();
}