Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2023-05-18 Thread Richard Lewis
On Thu, 18 May 2023, 04:45 Paul Wise, wrote: > Thanks for the info and thoughts. > > The idea would do something like your second suggestion; run logcheck > on apt logs separately, but within Debian instead of just on my system. > Perhaps we could also distribute the ignore regexes across

Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2023-05-17 Thread Paul Wise
Thanks for the info and thoughts. The idea would do something like your second suggestion; run logcheck on apt logs separately, but within Debian instead of just on my system. Perhaps we could also distribute the ignore regexes across packages like logcheck itself does. Since not everyone is

Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2023-05-15 Thread Richard Lewis
I'm sorry, but i read the bug and i am not entirely sure i understood what the request for logcheck is! but if you want to use logcheck to scan apt logs this is already possible. You just need to add the name of the log to a file in the logfiles.d directory. Your script using sed could be then be

Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2023-05-14 Thread Paul Wise
On Wed, 24 Nov 2021 21:37:36 +0800 Paul Wise wrote: > I'm currently using the attached hacky script with lots of regexes to > implement apt upgrade log filtering. Here is an updated version of the script. -- bye, pabs https://wiki.debian.org/PaulWise debian-filter-unattended-upgrades-report

Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2021-12-01 Thread Paul Wise
On Wed, 2021-12-01 at 16:41 +0100, Axel Beckert wrote: > aptitude-robot does this in > https://github.com/elmar/aptitude-robot/blob/master/reporting-helpers Interesting. This detects instances of a few "warning" and "error" types of strings. This is different to the approach I was going for

Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2021-12-01 Thread Axel Beckert
Hi Paul, Paul Wise wrote: > There could be an apt hook to use logcheck to filter the apt term.log > to an apt term-interesting.log and an unattended-upgrades hook to > filter unattended-upgrades-dpkg.log to a corresponding file and an > option/hook to filter unattended-upgrades mails. The same

Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2021-12-01 Thread Ola Lundqvist
Hi Paul The current possibilities in cron-apt are: SYSLOGON="upgrade" When to log the cron-apt results to syslog. Value: error (syslog on error runs) upgrade (when packages is upgraded) changes (syslog when change in output from an action) output (syslog when output is

Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2021-11-30 Thread Paul Wise
On Tue, 2021-11-30 at 23:05 +0100, Ola Lundqvist wrote: > Emails are sent by default only when apt fails. > > All output is logged to the cron-apt log file. > > Logs are sent to syslog on "upgrade". > By default upgrade is not enabled. Thanks for that info. If this feature gets implemented in

Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2021-11-30 Thread Ola Lundqvist
Hi Paul If my memory is correct. I should know since I wrote the cron-apt software but it was quite some time ago. ... Checking the code now to refresh my memory... Emails are sent by default only when apt fails. All output is logged to the cron-apt log file. Logs are sent to syslog on

Bug#1000518: logcheck: separate filtering for apt term.log and or unattended-upgrades-dpkg.log etc?

2021-11-24 Thread Paul Wise
Package: logcheck Severity: wishlist X-Debbugs-CC: a...@packages.debian.org, unattended-upgra...@packages.debian.org, cron-...@packages.debian.org, aptitude-ro...@packages.debian.org Currently logcheck focuses on /var/log/syslog and /var/log/auth.log but it would be nice to have separate