add syslog page for customer; pagination needs to be fixed

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-02-17 08:43:00 +01:00
parent dd5fa3bfff
commit 8356860945
6 changed files with 183 additions and 32 deletions

View File

@@ -106,32 +106,7 @@ class FileLogger extends AbstractLogger {
break;
}
$_type = 'unknown';
switch($type)
{
case LOG_INFO:
$_type = 'information';
break;
case LOG_NOTICE:
$_type = 'notice';
break;
case LOG_WARNING:
$_type = 'warning';
break;
case LOG_ERR:
$_type = 'error';
break;
case LOG_CRIT:
$_type = 'critical';
break;
case LOG_DEBUG:
$_type = 'debug';
break;
default:
$_type = 'unknown';
break;
}
$_type = getLogLevelDesc($type);
if(!isset($this->userinfo['loginname'])
|| $this->userinfo['loginname'] == '')