diff options
| author | Alexander Barton <alex@barton.de> | 2013-02-10 20:18:44 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2013-02-10 20:18:44 +0100 |
| commit | a78c7b3898e8f2b037fb42aac599ed8f8ec9bd58 (patch) | |
| tree | 756427bf83937975c975eb1bc63bd11693047dc0 | |
| parent | f295117fba615333908e707a656b6cd0fb0493ed (diff) | |
| download | ngircd-a78c7b3898e8f2b037fb42aac599ed8f8ec9bd58.tar.gz ngircd-a78c7b3898e8f2b037fb42aac599ed8f8ec9bd58.zip | |
Adjust severity levels of some log messages
| -rw-r--r-- | src/ngircd/conf.c | 6 | ||||
| -rw-r--r-- | src/ngircd/log.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index 835b5ea4..e46dcfee 100644 --- a/src/ngircd/conf.c +++ b/src/ngircd/conf.c @@ -832,8 +832,8 @@ Read_TextFile(const char *Filename, const char *Name, array *Destination) fp = fopen(Filename, "r"); if (!fp) { - Config_Error(LOG_WARNING, "Can't read %s file \"%s\": %s", - Name, Filename, strerror(errno)); + Config_Error(LOG_ERR, "Can't read %s file \"%s\": %s", + Name, Filename, strerror(errno)); return false; } @@ -843,7 +843,7 @@ Read_TextFile(const char *Filename, const char *Name, array *Destination) /* add text including \0 */ if (!array_catb(Destination, line, strlen(line) + 1)) { - Log(LOG_WARNING, "Cannot read/add \"%s\", line %d: %s", + Log(LOG_ERR, "Cannot read/add \"%s\", line %d: %s", Filename, line_no, strerror(errno)); break; } diff --git a/src/ngircd/log.c b/src/ngircd/log.c index 375f4bc1..e5bed791 100644 --- a/src/ngircd/log.c +++ b/src/ngircd/log.c @@ -109,7 +109,7 @@ Log_ReInit(void) GLOBAL void Log_Exit( void ) { - Log(LOG_NOTICE, "%s done%s, served %lu connection%s.", PACKAGE_NAME, + Log(LOG_INFO, "%s done%s, served %lu connection%s.", PACKAGE_NAME, NGIRCd_SignalRestart ? " (restarting)" : "", Conn_CountAccepted(), Conn_CountAccepted() == 1 ? "" : "s"); #ifdef SYSLOG |