1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/printing
Jones Syue 4f3dfb2029 s3: SIGHUP handlers use consistent log level 3
When turn-on 'log level = 3', sending SIGHUP to samba processes, for
example: smbd parent/children, smbd-notifyd, and smbd-cleanupd. Then
monitor log.smbd in order to parse sighup logs, it looks like the log level
is inconsistent among these processes: smbd parent/children use level 1,
and smbd-notifyd/smbd-cleanupd use level 3.

This patch raises sighup handler's log level from level 1 to level 3, which
is more consistent with smbd-notifyd by Commit 6e5bff80a0 ("s3:notifyd:
Handle sigup in notifyd to reparse smb.conf"), and smbd-cleanupd by Commit
57c1e115ec ("smbd: reopen logs on SIGHUP for notifyd and cleanupd").

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

Signed-off-by: Jones Syue <jonessyue@qnap.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Wed Sep 25 01:38:02 UTC 2024 on atb-devel-224
2024-09-25 01:38:02 +00:00
..
tests s3:printing: Remove unused variable 2023-02-06 22:51:31 +00:00
load.c s3:printing: Move pcap_cache_loaded() to load.c 2021-12-10 14:02:30 +00:00
load.h s3:printing: Move pcap_cache_loaded() to load.c 2021-12-10 14:02:30 +00:00
lpq_parse.c s3:printing: Fix code spelling 2023-07-19 09:58:37 +00:00
notify.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
notify.h
nt_printing_ads.c s3:include: remove unused krb5_env.h 2024-05-14 10:18:31 +00:00
nt_printing_migrate_internal.c
nt_printing_migrate_internal.h
nt_printing_migrate.c
nt_printing_migrate.h
nt_printing_os2.c lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
nt_printing_os2.h
nt_printing_tdb.c s3:printing: Add missing break in switch statement 2021-02-01 21:50:32 +00:00
nt_printing_tdb.h
nt_printing.c s3:printing: Fix code spelling 2023-07-19 09:58:37 +00:00
pcap.c s3:printing: Move pcap_cache_loaded() to load.c 2021-12-10 14:02:30 +00:00
pcap.h s3:printing: Move pcap_cache_loaded() to load.c 2021-12-10 14:02:30 +00:00
print_aix.c
print_cups.c s3:printing: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
print_generic.c lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
print_iprint.c s3:printing: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
print_standard.c lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
print_svid.c printing: Save a few lines with str_list_add_printf() 2022-01-18 20:22:38 +00:00
printer_list.c s3:printing: Fix code spelling 2023-08-08 04:39:38 +00:00
printer_list.h s3:printing: Do not clear the printer-list.tdb 2022-06-30 22:08:39 +00:00
printing_db.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
printing.c s3:printing: Add missing spaces to error messages 2023-08-08 04:39:38 +00:00
printspoolss.c smbd: set fsp_flags.is_fsa to true on printer file handles 2024-01-08 15:53:36 +00:00
queue_process.c s3: SIGHUP handlers use consistent log level 3 2024-09-25 01:38:02 +00:00
queue_process.h printing: Remove "start_daemons" from printing_subsystem_init() 2021-12-10 14:02:30 +00:00
rap_jobid.c printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
rap_jobid.h printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
samba-bgqd.c s3:printing: Allow to run samba-bgqd as a standalone systemd service 2024-07-19 11:13:28 +00:00