diff options
Diffstat (limited to 'source4/python')
-rw-r--r-- | source4/python/py_common.c | 4 | ||||
-rw-r--r-- | source4/python/py_lsa.c | 2 | ||||
-rw-r--r-- | source4/python/py_samr.c | 2 | ||||
-rw-r--r-- | source4/python/py_smb.c | 2 |
4 files changed, 5 insertions, 5 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(); } diff --git a/source4/python/py_lsa.c b/source4/python/py_lsa.c index 22db29665a..2ea7be3645 100644 --- a/source4/python/py_lsa.c +++ b/source4/python/py_lsa.c @@ -463,6 +463,6 @@ void initlsa(void) py_samba_init(); - setup_logging("lsa", True); + setup_logging("lsa", DEBUG_STDOUT); DEBUGLEVEL = 10; } diff --git a/source4/python/py_samr.c b/source4/python/py_samr.c index 182671d047..39cfb3e60c 100644 --- a/source4/python/py_samr.c +++ b/source4/python/py_samr.c @@ -492,6 +492,6 @@ void initsamr(void) py_samba_init(); - setup_logging("samr", True); + setup_logging("samr", DEBUG_STDOUT); DEBUGLEVEL = 10; } diff --git a/source4/python/py_smb.c b/source4/python/py_smb.c index 3f05b5d7c6..52de768558 100644 --- a/source4/python/py_smb.c +++ b/source4/python/py_smb.c @@ -394,6 +394,6 @@ void initsmb(void) py_samba_init(); - setup_logging("smb", True); + setup_logging("smb", DEBUG_STDOUT); DEBUGLEVEL = 10; } |