1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-13 02:10:27 +00:00

Adjust severity levels of some log messages

This commit is contained in:
Alexander Barton 2013-02-10 20:18:44 +01:00
parent f295117fba
commit a78c7b3898
2 changed files with 4 additions and 4 deletions

View File

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

View File

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