1
0
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:
Martin Schwenke 2021-09-24 22:17:53 +10:00 committed by Amitay Isaacs
parent 5f9dbf3dec
commit 666a048707

View File

@ -677,7 +677,7 @@ int logging_init(TALLOC_CTX *mem_ctx, const char *logging,
int level; int level;
int ret; int ret;
setup_logging(app_name, DEBUG_STDERR); setup_logging(app_name, DEBUG_DEFAULT_STDERR);
if (debug_level == NULL) { if (debug_level == NULL) {
debug_level = getenv("CTDB_DEBUGLEVEL"); debug_level = getenv("CTDB_DEBUGLEVEL");