1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

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 <bj@sernet.de>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Mar  5 14:38:42 CET 2015 on sn-devel-104
This commit is contained in:
Björn Jacke 2015-03-04 10:15:10 +01:00 committed by Bjoern Jacke
parent 3f97be6d0f
commit fb86aa86ae

View File

@ -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;
}