mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
debug: Add some readability to debug_logtype
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
02a06ae617
commit
222996931d
@ -207,7 +207,14 @@ extern int *DEBUGLEVEL_CLASS;
|
|||||||
* for example. This makes it easy to override for debug to stderr on
|
* for example. This makes it easy to override for debug to stderr on
|
||||||
* the command line, as the smb.conf cannot reset it back to
|
* the command line, as the smb.conf cannot reset it back to
|
||||||
* file-based logging */
|
* file-based logging */
|
||||||
enum debug_logtype {DEBUG_DEFAULT_STDERR = 0, DEBUG_DEFAULT_STDOUT = 1, DEBUG_FILE = 2, DEBUG_STDOUT = 3, DEBUG_STDERR = 4, DEBUG_CALLBACK = 5};
|
enum debug_logtype {
|
||||||
|
DEBUG_DEFAULT_STDERR = 0,
|
||||||
|
DEBUG_DEFAULT_STDOUT = 1,
|
||||||
|
DEBUG_FILE = 2,
|
||||||
|
DEBUG_STDOUT = 3,
|
||||||
|
DEBUG_STDERR = 4,
|
||||||
|
DEBUG_CALLBACK = 5
|
||||||
|
};
|
||||||
|
|
||||||
struct debug_settings {
|
struct debug_settings {
|
||||||
size_t max_log_size;
|
size_t max_log_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user