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.
| | |
| | | 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 |
| | | |
| | | /* |
| | |
| | | '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, |
| | |
| | | case 'clamav': |
| | | $logfile = '/var/log/clamav/clamav.log'; |
| | | break; |
| | | case 'ispconfig': |
| | | $logfile = '/var/log/ispconfig/ispconfig.log'; |
| | | break; |
| | | default: |
| | | $logfile = ''; |
| | | break; |