fixed logging
This commit is contained in:
parent
da4788b3cc
commit
5a6506cf6d
|
@ -277,7 +277,7 @@ function logNewMessage($level, $message) {
|
||||||
syslog($level, $message);
|
syslog($level, $message);
|
||||||
}
|
}
|
||||||
// remote logging
|
// remote logging
|
||||||
if (strpos($cfg->logDestination, 'REMOTE') === 0) {
|
elseif (strpos($cfg->logDestination, 'REMOTE') === 0) {
|
||||||
lamLogRemoteMessage($level, $message, $cfg);
|
lamLogRemoteMessage($level, $message, $cfg);
|
||||||
}
|
}
|
||||||
// log to file
|
// log to file
|
||||||
|
|
Loading…
Reference in New Issue