blob: c2a5511889c4cf4e00f8107daa0b4a45abbd0424 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Description: Prefer /var/log/syslog over /var/log/messages
On Debian the default /etc/rsyslog.conf shipped with rsyslog
prefers logs *.* to /var/log/syslog. Thus prefer this logfile
in list of default logfiles.
Origin: vendor
Bug-Debian: https://bugs.debian.org/721700
Forwarded: not-needed
Author: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2015-11-16
--- a/src/lnav.cc
+++ b/src/lnav.cc
@@ -2623,10 +2623,10 @@ SELECT tbl_name FROM sqlite_master WHERE
}
if (!mode_flags.mf_check_configs && !lnav_data.ld_show_help_view) {
- DEFAULT_FILES.emplace_back("var/log/messages");
- DEFAULT_FILES.emplace_back("var/log/system.log");
DEFAULT_FILES.emplace_back("var/log/syslog");
DEFAULT_FILES.emplace_back("var/log/syslog.log");
+ DEFAULT_FILES.emplace_back("var/log/messages");
+ DEFAULT_FILES.emplace_back("var/log/system.log");
}
init_lnav_commands(lnav_commands);
|