diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:56 +0000 |
commit | 74d6266a7d50d0469106a99ec2fd109ae58a9afa (patch) | |
tree | bba80da0f80637f3e85362da1817d4487e36ad99 /debian/patches/default-to-var-log-syslog-on-Debian.patch | |
parent | Adding upstream version 0.11.1. (diff) | |
download | lnav-debian/0.11.1-3.tar.xz lnav-debian/0.11.1-3.zip |
Adding debian version 0.11.1-3.debian/0.11.1-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/default-to-var-log-syslog-on-Debian.patch')
-rw-r--r-- | debian/patches/default-to-var-log-syslog-on-Debian.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/default-to-var-log-syslog-on-Debian.patch b/debian/patches/default-to-var-log-syslog-on-Debian.patch new file mode 100644 index 0000000..c2a5511 --- /dev/null +++ b/debian/patches/default-to-var-log-syslog-on-Debian.patch @@ -0,0 +1,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); |