fixed logging

This commit is contained in:
Roland Gruber 2019-03-01 18:28:14 +01:00
parent da4788b3cc
commit 5a6506cf6d
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ function logNewMessage($level, $message) {
syslog($level, $message);
}
// remote logging
if (strpos($cfg->logDestination, 'REMOTE') === 0) {
elseif (strpos($cfg->logDestination, 'REMOTE') === 0) {
lamLogRemoteMessage($level, $message, $cfg);
}
// log to file