Revision f3fd77ee
Added by Viktor Gurov over 4 years ago
src/etc/inc/syslog.inc | ||
---|---|---|
163 | 163 |
} |
164 | 164 |
|
165 | 165 |
/* Combine list of syslog and non-syslog log files */ |
166 |
foreach (array_merge(system_syslogd_get_all_logfilenames(true), $system_log_non_syslog_files) as $lfile) { |
|
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 | 168 |
clear_log_file("{$g['varlog_path']}/{$lfile}", false); |
168 | 169 |
} |
169 | 170 |
|
Also available in: Unified diff
Do not clean dmesg.boot on Reset Log Files. Fixes #11428