Revision 5800b750
Added by Viktor Gurov over 4 years ago
src/etc/inc/syslog.inc | ||
---|---|---|
164 | 164 |
|
165 | 165 |
/* Combine list of syslog and non-syslog log files */ |
166 | 166 |
/* exclude dmesg.boot, see https://redmine.pfsense.org/issues/11428 */ |
167 |
foreach (array_merge(system_syslogd_get_all_logfilenames(true), array_diff($system_log_non_syslog_files, 'dmesg.boot')) as $lfile) {
|
|
167 |
foreach (array_merge(system_syslogd_get_all_logfilenames(true), array_diff($system_log_non_syslog_files, array('dmesg.boot'))) as $lfile) {
|
|
168 | 168 |
clear_log_file("{$g['varlog_path']}/{$lfile}", false); |
169 | 169 |
} |
170 | 170 |
|
Also available in: Unified diff
Fix PHP error on Reset Log Files. Issue #11710