summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Richard Basch <probe@mit.edu>1993-03-22 22:10:19 +0000
committerGravatar Richard Basch <probe@mit.edu>1993-03-22 22:10:19 +0000
commit8f7b0e35d412bebe53c35054976ae59e2e2292c9 (patch)
tree747280b2cfc04391025d675a195eda0cfcb9812f
parentd694f31894a542e08aa3580e725821ebf5f099b5 (diff)
Changed some of the logging levels
-rw-r--r--server/dispatch.c4
-rw-r--r--server/main.c4
-rw-r--r--server/server.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/server/dispatch.c b/server/dispatch.c
index a3f241a..1d54947 100644
--- a/server/dispatch.c
+++ b/server/dispatch.c
@@ -266,7 +266,7 @@ dispatch(notice, auth, who, from_server)
if ((int) notice->z_kind < (int) UNSAFE ||
(int) notice->z_kind > (int) CLIENTACK) {
- syslog(LOG_INFO, "bad notice kind 0x%x from %s",
+ syslog(LOG_NOTICE, "bad notice kind 0x%x from %s",
(int) notice->z_kind,
inet_ntoa(who->sin_addr));
return;
@@ -909,7 +909,7 @@ control_dispatch(notice, auth, who, server)
server,
wantdefs)) != ZERR_NONE)
{
- syslog(LOG_WARNING,
+ syslog(LOG_NOTICE,
"subscr. register %s/%s/%d failed: %s",
notice->z_sender,
inet_ntoa(who->sin_addr),
diff --git a/server/main.c b/server/main.c
index ac7680a..d3e4a8b 100644
--- a/server/main.c
+++ b/server/main.c
@@ -294,7 +294,7 @@ main(argc, argv)
(void) signal(SIGTERM, bye);
#endif /* _POSIX_SOURCE */
#endif /* DEBUG */
- syslog(LOG_INFO, "Ready for action");
+ syslog(LOG_NOTICE, "Ready for action");
#ifdef _POSIX_SOURCE
action.sa_handler = dbug_on;
sigaction(SIGUSR1, &action, NULL);
@@ -544,7 +544,7 @@ bye(sig)
#ifdef KERBEROS
(void) dest_tkt();
#endif
- syslog(LOG_INFO, "goodbye (sig %d)",sig);
+ syslog(LOG_NOTICE, "goodbye (sig %d)",sig);
exit(0);
/*NOTREACHED*/
}
diff --git a/server/server.c b/server/server.c
index 381593d..2c33a37 100644
--- a/server/server.c
+++ b/server/server.c
@@ -765,14 +765,14 @@ kill_clt(notice, server)
if (extract_addr(notice, &who) != ZERR_NONE)
return(ZERR_NONE); /* XXX */
if (!(host = hostm_find_host(&who.sin_addr))) {
- syslog(LOG_WARNING, "kill_clt: no such host (%s, from %s)",
+ syslog(LOG_NOTICE, "kill_clt: no such host (%s, from %s)",
inet_ntoa (who.sin_addr), server->addr);
return(ZERR_NONE); /* XXX */
}
if (host->zh_locked)
return(ZSRV_REQUEUE);
if (!(client = client_which_client(&who, notice))) {
- syslog(LOG_WARNING, "kill_clt: no such client (%s/%d) from %s",
+ syslog(LOG_NOTICE, "kill_clt: no such client (%s/%d) from %s",
inet_ntoa (who.sin_addr), ntohs (who.sin_port),
server->addr);
return(ZERR_NONE); /* XXX */
@@ -806,7 +806,7 @@ recover_clt(notice, server)
if ((status = extract_addr(notice, &who)) != ZERR_NONE)
return(status);
if (!(host = hostm_find_host(&who.sin_addr))) {
- syslog(LOG_INFO,
+ syslog(LOG_NOTICE,
"recover_clt: host not found (%s, from %s)",
inet_ntoa (who.sin_addr), server->addr);
return(ZERR_NONE); /* XXX */
@@ -814,7 +814,7 @@ recover_clt(notice, server)
if (host->zh_locked)
return(ZSRV_REQUEUE);
if (!(client = client_which_client(&who, notice))) {
- syslog(LOG_INFO,
+ syslog(LOG_NOTICE,
"recover_clt: client not found (%s/%d, from %s)",
inet_ntoa (who.sin_addr), ntohs (who.sin_port),
server->addr);