1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb/server
Martin Schwenke 959d37e72c ctdb-daemon: Use DEBUG() macro for child logging
Directly using dbgtext() with file logging results in a log entry with
no header, which is wrong.  This is a regression, introduced in commit
10d15c9e5d.  Prior to this, CTDB's
callback for file logging would always add a header.

Use DEBUG() instead dbgtext().  Note that DEBUG() effectively compares
the passed script_log_level with DEBUGLEVEL, so an explicit check is
no longer necessary.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15090

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jun 16 13:33:10 UTC 2022 on sn-devel-184

(cherry picked from commit e752f841e6)
2022-06-18 08:47:17 +00:00
..
ctdb_banning.c ctdb-daemon: Drop unused function ctdb_local_node_got_banned() 2019-08-20 07:15:41 +00:00
ctdb_call.c ctdb-daemon: Fix sorting of hot keys 2020-05-22 06:41:45 +00:00
ctdb_client.c ctdb-daemon: Drop unused old client recmaster functions 2022-01-17 10:21:33 +00:00
ctdb_cluster_mutex.c ctdb-mutex: Drop dependency on ctdb_set_helper 2019-07-26 03:34:17 +00:00
ctdb_cluster_mutex.h ctdb-cluster-mutex: Fix #endif decoration 2016-06-08 04:52:18 +02:00
ctdb_config.c ctdb-config: Add configuration option [cluster] leader timeout 2022-01-17 10:21:33 +00:00
ctdb_config.h ctdb-config: Add configuration option [cluster] leader timeout 2022-01-17 10:21:33 +00:00
ctdb_control.c ctdb-daemon: Drop implementation of {GET,SET}_RECMASTER controls 2022-01-17 10:21:33 +00:00
ctdb_daemon.c ctdb-daemon: Enable log reopening for event daemon 2022-01-17 03:43:30 +00:00
ctdb_fork.c ctdb-daemon: Add ctdb_vfork_exec() 2016-12-05 08:09:23 +01:00
ctdb_freeze.c ctdb-daemon: Add implementation of VACUUM_FETCH control 2019-10-24 04:06:42 +00:00
ctdb_keepalive.c ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
ctdb_lock_helper.c ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
ctdb_lock.c ctdb-locking: Pass additional arguments to debug locks script 2021-05-28 06:46:29 +00:00
ctdb_logging.c ctdb-daemon: Use DEBUG() macro for child logging 2022-06-18 08:47:17 +00:00
ctdb_ltdb_server.c ctdb-daemon: Add extra logging of hot keys 2020-05-22 06:41:45 +00:00
ctdb_monitor.c ctdb-daemon: Ignore flag changes for disconnected nodes 2021-09-09 01:46:49 +00:00
ctdb_mutex_fcntl_helper.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
ctdb_persistent.c ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
ctdb_recover.c ctdb-daemon: Drop implementation of {GET,SET}_RECMASTER controls 2022-01-17 10:21:33 +00:00
ctdb_recoverd.c ctdb-recoverd: Consistently log start of election 2022-02-15 09:01:14 +00:00
ctdb_recovery_helper.c ctdb-recoverd: Add log reopening on SIGHUP to helpers 2022-01-17 03:43:30 +00:00
ctdb_server.c ctdb-daemon: Don't mark a node as unhealthy when connecting to it 2021-09-09 02:38:34 +00:00
ctdb_statistics.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_takeover_helper.c ctdb-recoverd: Add log reopening on SIGHUP to helpers 2022-01-17 03:43:30 +00:00
ctdb_takeover.c Spelling fixes s/ dont / don't / 2019-09-01 22:21:27 +00:00
ctdb_traverse.c ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
ctdb_tunables.c ctdb-daemon: Use refactored tunable code 2016-07-25 21:29:46 +02:00
ctdb_tunnel.c ctdb-daemon: Add code to process ctdb_req_tunnel packets 2017-10-10 11:45:19 +02:00
ctdb_update_record.c ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
ctdb_uptime.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_vacuum.c ctdb-vacuum: Reschedule vacuum event if VacuumInterval has increased 2020-04-07 03:04:57 +00:00
ctdbd.c ctdb-config: [legacy] recmaster capability -> [cluster] leader capability 2022-01-17 10:21:33 +00:00
eventscript.c ctdb-daemon: Enable log reopening for event daemon 2022-01-17 03:43:30 +00:00
ipalloc_common.c ctdb-ipalloc: Avoid -1 as a PNN, use CTDB_UNKNOWN_PNN instead 2019-06-05 10:25:50 +00:00
ipalloc_deterministic.c ctdb-takeover: IPAllocAlgorithm replaces LCP2PublicIPs, DeterministicIPs 2016-12-19 04:07:08 +01:00
ipalloc_lcp2.c ctdb-ipalloc: Fix warning about unused value assigned to srcimbl 2019-06-05 10:25:50 +00:00
ipalloc_nondeterministic.c ctdb-ipalloc: Avoid -1 as a PNN, use CTDB_UNKNOWN_PNN instead 2019-06-05 10:25:50 +00:00
ipalloc_private.h ctdb-ipalloc: Fix signed/unsigned comparisons by declaring as unsigned 2019-06-05 10:25:50 +00:00
ipalloc.c ctdb-ipalloc: Avoid -1 as a PNN, use CTDB_UNKNOWN_PNN instead 2019-06-05 10:25:50 +00:00
ipalloc.h ctdb-daemon: Drop the noiphost "node flags" bitmap 2018-07-11 11:48:38 +02:00
legacy_conf.c ctdb-config: [legacy] recmaster capability -> [cluster] leader capability 2022-01-17 10:21:33 +00:00
legacy_conf.h ctdb-config: [legacy] recmaster capability -> [cluster] leader capability 2022-01-17 10:21:33 +00:00