I'm sorry, I still don't see where you've tried setting Service to an empty string as discussed. For example:
# grep -v ^# /etc/logwatch/conf/logwatch.conf Service = Service = cron FYI, I've never used logwatch before a couple of days ago. I'm just trying to help troubleshoot based on man/doc pages and some testing on my end. I'm by no means an expert :) Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, October 25, 2019 1:21 PM, Rich Shepard <[email protected]> wrote: > On Wed, 23 Oct 2019, Reid wrote: > > > Try running `/usr/sbin/logwatch --debug High` to see the full service list > > and each config file line that's being read in. > > > > So, I changed the logwatch.conf file to read: > > > Service = All > > The above should have shown that line commented out. Now it's been removed > completely yet /usr/sbin/logwatch still complains that it's there. > > > > Service = cron > > > Service = kernel > > > Service = postfix > > > Service = sshd > > > Service = syslogd > > > Service = xntpd > > > Service = zz-disk_space > > > Service = zz-fortune > > > Service = zz-lm_sensors > > Notice: > > On Thu, 24 Oct 2019, wes wrote: > [SP] <number> R)epl A)ccept I)nsert L)ookup U)ncap Q)uit e(X)it or ? for help > > IW /tmp/pico.92330 (Modified)(mail) Row 25 > Col 1 1:19 Ctrl-K H for help > > > On Wed, 23 Oct 2019, Reid wrote: > > > Try running `/usr/sbin/logwatch --debug High` to see the full service list > > and each config file line that's being read in. > > > > So, I changed the logwatch.conf file to read: > > > Service = All > > The above should have shown that line commented out. Now it's been removed > completely yet /usr/sbin/logwatch still complains that it's there. > > > > Service = cron > > > Service = kernel > > > Service = postfix > > > Service = sshd > > > Service = syslogd > > > Service = xntpd > > > Service = zz-disk_space > > > Service = zz-fortune > > > Service = zz-lm_sensors > > Note: > > $ grep All logwatch.conf > > All these options are the defaults if you run logwatch with no > > =============================================================== > > All log-files are assumed to be given relative to this directory. > > ================================================================== > > 'Yesterday' or 'Today'... it is probably best used with Range = All > > ==================================================================== > > The current choices are All, Today, Yesterday > > ============================================== > > /usr/share/logwatch/scripts/services/*) or 'All'. The default service(s) > > ========================================================================= > > to report on. This should be left as All for most people. > > ========================================================== > > most people. Setting 'Service' to 'All' above analyzes all LogFiles > > ==================================================================== > > And, when I run /usr/sbin/logwatch: > > $ su -c '/usr/sbin/logwatch' > Password: > Wrong configuration entry for "Service", if "All" selected, only "-" items > are allowed > > Help! > > Rich > > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
