Commit 51f8f0b7 authored by tbrehm's avatar tbrehm
Browse files

Moved ISPConfig log location for the daemon log to...

Moved ISPConfig log location for the daemon log to /var/log/ispconfig/ispconfig.log and added the logfile as option to the logfile viewer in the monitoring module.
parent e0829787
......@@ -105,7 +105,7 @@ define("DB_PASSWORD",$conf["db_password"]);
Logging
*/
$conf["log_file"] = $conf["rootpath"].$conf["fs_div"]."ispconfig.log";
$conf["log_file"] = '/var/log/ispconfig/ispconfig.log';
$conf["log_priority"] = {ispconfig_log_priority}; // 0 = Debug, 1 = Warning, 2 = Error
/*
......
......@@ -66,6 +66,10 @@ $items[] = array( 'title' => "Clamav",
'target' => 'content',
'link' => 'monitor/logview.php?log=clamav');
$items[] = array( 'title' => "ISPConfig",
'target' => 'content',
'link' => 'monitor/logview.php?log=ispconfig');
$module["nav"][] = array( 'title' => 'Logfiles',
'open' => 1,
......
......@@ -75,6 +75,9 @@ switch($logfile_id) {
case 'clamav':
$logfile = '/var/log/clamav/clamav.log';
break;
case 'ispconfig':
$logfile = '/var/log/ispconfig/ispconfig.log';
break;
default:
$logfile = '';
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment