1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/ctdb/tests/UNIT/eventd
Martin Schwenke 10d15c9e5d ctdb-common: Use Samba's DEBUG_FILE logging
This has support for log rotation (or re-opening).

The log format is updated to use an RFC5424 timestamp and to include a
hostname.  The addition of the hostname allows trivial merging of log
files from multiple cluster nodes.

The hostname is faked from the CTDB_BASE environment variable during
testing, as per the comment in the code.  It is currently faked in a
similar manner in local_daemons.sh when printing logs, so drop this.

Unit tests need updating because stderr logging no longer produces a
"PROGNAME[PID]: " header.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2022-01-17 03:43:30 +00:00
..
etc-ctdb
scripts ctdb-common: Use Samba's DEBUG_FILE logging 2022-01-17 03:43:30 +00:00
eventd_001.sh
eventd_002.sh
eventd_003.sh
eventd_004.sh
eventd_005.sh
eventd_006.sh
eventd_007.sh
eventd_008.sh
eventd_009.sh
eventd_011.sh
eventd_012.sh
eventd_013.sh
eventd_014.sh
eventd_021.sh
eventd_022.sh
eventd_023.sh
eventd_024.sh
eventd_031.sh
eventd_032.sh
eventd_033.sh
eventd_041.sh
eventd_042.sh
eventd_043.sh
eventd_044.sh
eventd_051.sh ctdb-common: Use Samba's DEBUG_FILE logging 2022-01-17 03:43:30 +00:00
eventd_052.sh
README

Unit tests for event daemon