Re: [rsyslog] logrotate wont compress-rotate syslog templated files

2023-12-14 Thread Dimi Onobodies via rsyslog
01 ?00:00:00 awk -v >> progname=/etc/cron.hourly/logrotate progname { print progname ":\n" >> progname=""; ??? } ??? { print; } >> root 17221 17219 0 00:01 ?00:00:05 /usr/sbin/logrotate -v -s >> /var/l

Re: [rsyslog] logrotate wont compress-rotate syslog templated files

2023-11-30 Thread David Lang via rsyslog
nerated with template configuration directives. D. From: rsyslog on behalf of Mariusz Kruk via rsyslog Sent: Monday, November 13, 2023 1:32 PM To: rsyslog@lists.adiscon.com Cc: Mariusz Kruk Subject: Re: [rsyslog] logrotate wont compress-rotate syslog templated

Re: [rsyslog] logrotate wont compress-rotate syslog templated files

2023-11-30 Thread Dan Pritts via rsyslog
bin/logrotate -v -s > /var/lib/logrotate.status /etc/logrotate.conf > > > Still cannot pinpoint if this is a rsyslog, logrotate, gzip issue. I dont get > it why this is happening only on logs generated with template configuration > directives. > > D. > > _

Re: [rsyslog] logrotate wont compress-rotate syslog templated files

2023-11-14 Thread David Lang via rsyslog
get it why this is happening only on logs generated with template configuration directives. D. From: rsyslog on behalf of Mariusz Kruk via rsyslog Sent: Monday, November 13, 2023 1:32 PM To: rsyslog@lists.adiscon.com Cc: Mariusz Kruk Subject: Re: [rsyslog] logrotate wont compress-rotate sys

Re: [rsyslog] logrotate wont compress-rotate syslog templated files

2023-11-14 Thread Dimi Onobodies via rsyslog
rom: rsyslog on behalf of Mariusz Kruk via rsyslog Sent: Monday, November 13, 2023 1:32 PM To: rsyslog@lists.adiscon.com Cc: Mariusz Kruk Subject: Re: [rsyslog] logrotate wont compress-rotate syslog templated files If the logrotate daily invocation already happened today, it won't consider the

Re: [rsyslog] logrotate wont compress-rotate syslog templated files

2023-11-13 Thread Mariusz Kruk via rsyslog
ts.adiscon.com Cc: Mariusz Kruk Subject: Re: [rsyslog] logrotate wont compress-rotate syslog templated files First and foremost, you should check what and why logrotate does when rotating files (the -v and - d options for logrotate). That will tell you what is actually happening when the rotat

Re: [rsyslog] logrotate wont compress-rotate syslog templated files

2023-11-13 Thread Dimi Onobodies via rsyslog
compress-rotate syslog templated files First and foremost, you should check what and why logrotate does when rotating files (the -v and - d options for logrotate). That will tell you what is actually happening when the rotation should occur. On 13.11.2023 09:57, Dimi Onobodies via rsyslog wrote

Re: [rsyslog] logrotate wont compress-rotate syslog templated files

2023-11-13 Thread Mariusz Kruk via rsyslog
First and foremost, you should check what and why logrotate does when rotating files (the -v and - d options for logrotate). That will tell you what is actually happening when the rotation should occur. On 13.11.2023 09:57, Dimi Onobodies via rsyslog wrote: Hi, I am facing a weird logrotate i

[rsyslog] logrotate wont compress-rotate syslog templated files

2023-11-13 Thread Dimi Onobodies via rsyslog
Hi, I am facing a weird logrotate issue in my central syslog system (receiving logs from various host via imtcp). Logrotate does not compress syslog templated log files. It does compress and rotates other log files generated by rsyslog, but not the ones generated using a template. Syslog config