mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-common: Switch initial debug type to DEBUG_DEFAULT_STDERR
This can be overridden by DEBUG_FILE, whereas DEBUG_STDERR can not. Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
5f9dbf3dec
commit
666a048707
@ -677,7 +677,7 @@ int logging_init(TALLOC_CTX *mem_ctx, const char *logging,
|
||||
int level;
|
||||
int ret;
|
||||
|
||||
setup_logging(app_name, DEBUG_STDERR);
|
||||
setup_logging(app_name, DEBUG_DEFAULT_STDERR);
|
||||
|
||||
if (debug_level == NULL) {
|
||||
debug_level = getenv("CTDB_DEBUGLEVEL");
|
||||
|
Loading…
Reference in New Issue
Block a user