The branch, master has been updated via fb86aa8 printing: increse log level for unreachable cups servers from 3f97be6 ctdb-locking: Back-off from logging every 10 seconds
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit fb86aa86ae040dfa8009d4c13f7712fede8bd063 Author: Björn Jacke <b...@sernet.de> Date: Wed Mar 4 10:15:10 2015 +0100 printing: increse log level for unreachable cups servers this annoying messages hitting the logs very often on non-cups servers by default in log level 0 otherwise. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11133 Signed-off-by: Bjoern Jacke <b...@sernet.de> Reviewed-by: David Disseldorp <dd...@samba.org> Autobuild-User(master): Björn Jacke <b...@sernet.de> Autobuild-Date(master): Thu Mar 5 14:38:42 CET 2015 on sn-devel-104 ----------------------------------------------------------------------- Summary of changes: source3/printing/print_cups.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index 561e07d..fd78a7f 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -148,7 +148,7 @@ static http_t *cups_connect(TALLOC_CTX *frame) alarm(0); if (http == NULL) { - DEBUG(0,("Unable to connect to CUPS server %s:%d - %s\n", + DEBUG(3,("Unable to connect to CUPS server %s:%d - %s\n", server, port, strerror(errno))); } @@ -526,7 +526,7 @@ static void cups_async_callback(struct tevent_context *event_ctx, } if (!NT_STATUS_IS_OK(pcap_data.status)) { - DEBUG(0,("failed to retrieve printer list: %s\n", + DEBUG(3,("failed to retrieve printer list: %s\n", nt_errstr(pcap_data.status))); goto err_out; } -- Samba Shared Repository