1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4:debug: make setup_logging() a bit more compatible with samba3

In samba3 the 2nd argument is bool interactive.
E.g ndrdump uses true there which used to map to DEBUG_FILE
in samba4, it maps to DEBUG_STDOUT now, which is better.

In the end end samba3 should also use the samba4 version of
setup_logging()

metze
This commit is contained in:
Stefan Metzmacher 2009-01-09 13:10:07 +01:00
parent 308eb1c46e
commit 49a6d757b4

View File

@ -75,7 +75,7 @@ extern int DEBUGLEVEL;
#define DEBUGTAB(n) do_debug_tab(n)
/** Possible destinations for the debug log */
enum debug_logtype {DEBUG_STDOUT = 0, DEBUG_FILE = 1, DEBUG_STDERR = 2};
enum debug_logtype {DEBUG_FILE = 0, DEBUG_STDOUT = 1, DEBUG_STDERR = 2};
/**
the backend for debug messages. Note that the DEBUG() macro has already