1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-21 12:59:09 +03:00

Implemented a setup_logging() function that takes two keywords:

interactive and logfilename.  These can be used to send Samba DEBUG()
output to stdout or to a logfile which makes automated testing much
funkier.

Also added get_debuglevel() and set_debuglevel() functions.
This commit is contained in:
Tim Potter
-
parent 8bb798ab3d
commit 6c7b5e15c2
2 changed files with 62 additions and 5 deletions

View File

@ -27,4 +27,8 @@ void py_samba_init(void);
PyObject *py_werror_tuple(WERROR werror);
PyObject *py_ntstatus_tuple(NTSTATUS ntstatus);
PyObject *py_setup_logging(PyObject *self, PyObject *args);
PyObject *get_debuglevel(PyObject *self, PyObject *args);
PyObject *set_debuglevel(PyObject *self, PyObject *args);
#endif /* _PY_COMMON_H */