1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib
Martin Schwenke c767277912 util: Avoid logging to multiple backends for stdout/stderr
Commit 83fe7a0316 converted the
stdout/stderr logging  types to DEBUG_FILE to get a header when using
DEBUG_SYSLOG_FORMAT_ALWAYS.  However, this causes all configured
backends to be invoked.  When syslog is one of those backends then
this is almost certainly not what is intended.

Instead, call debug_file_log() directly in that special case and
revert the parts of the above commit that convert to file logging.

Most of the changes to debughdrclass() still seem necessary, since
they handle the change of debug_syslog_format from a bool to an enum.

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

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Mon Aug 28 01:21:07 UTC 2023 on atb-devel-224
2023-08-28 01:21:07 +00:00
..
addns lib:addns: Don’t call memcpy() with a NULL pointer 2023-05-05 02:54:31 +00:00
afs auth: Make more liberal use of SID index constants 2023-02-08 00:03:39 +00:00
async_req lib: Use FIONREAD in wait_for_read_send/recv 2021-03-16 17:09:31 +00:00
audit_logging audit_logging: Simplify json_add_stringn() with json_stringn() 2023-08-14 20:51:11 +00:00
cmdline lib/cmdline: Also redact --newpassword in samba_cmdline_burn() 2023-07-21 06:16:30 +00:00
compression lib:compression: Fix code spelling 2023-04-03 03:56:35 +00:00
crypto python: Use correct function signatures 2023-08-08 04:39:37 +00:00
dbwrap dbwrap: Simplify dbwrap_change_int32_atomic_action() 2023-08-14 19:53:37 +00:00
fuzzing fuzz: add fuzzer for ldb_comparison_fold 2023-08-08 04:39:39 +00:00
krb5_wrap lib:krb5_wrap: Fix references to incorrect function names 2023-08-21 23:37:29 +00:00
ldb ldb:ldb_sqlite3: Access correct member of union 2023-08-14 04:57:34 +00:00
ldb-samba lib/ldb-samba: Add missing newline to logging message 2023-08-08 04:39:36 +00:00
messaging lib:messaging: Fix code spelling 2023-04-11 09:06:36 +00:00
mscat lib:mscat: Add missing newlines to logging messages 2023-08-08 04:39:37 +00:00
param docs-xml/smbdotconf: also allow 2012[_R2] for 'ad dc functional level' 2023-06-21 19:08:37 +00:00
printer_driver printing: Align integer types 2021-04-01 19:32:36 +00:00
pthreadpool lib:pthreadpool: Fix code spelling 2023-04-11 09:06:36 +00:00
replace lib/replace: Ensure that __STDC_WANT_LIB_EXT1__ is set to 1 2023-08-14 04:57:34 +00:00
smbconf lib:smbconf: Fix code spelling 2023-04-14 05:25:33 +00:00
socket lib:socket: Add missing newlines to logging messages 2023-08-08 04:39:37 +00:00
talloc talloc: Fix typo 2023-08-08 04:39:37 +00:00
tdb tdb: release 1.4.9 2023-07-19 08:02:33 +00:00
tdb_wrap lib: Open tdb files with O_CLOEXEC 2021-06-04 16:47:34 +00:00
tdr
tevent tevent: Fix a typo 2023-08-14 19:53:37 +00:00
texpect texpect: don't ignore unknown options 2021-09-10 15:10:30 +00:00
torture lib/torture: Don't overwrite test outcomes 2023-04-12 13:52:32 +00:00
tsocket tsocket: Fix code spelling 2023-08-14 04:57:34 +00:00
util util: Avoid logging to multiple backends for stdout/stderr 2023-08-28 01:21:07 +00:00
README
wscript_build

compression - Various compression algorithms (MSZIP, lzxpress)
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library