Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #177416
| From | Joe <joe@jretrading.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: logrotate - got compressed log |
| Date | 2017-02-04 20:30 +0100 |
| Message-ID | <t7ec2-529-15@gated-at.bofh.it> (permalink) |
| References | <t74Z4-6Xw-11@gated-at.bofh.it> <t7bea-2Tv-19@gated-at.bofh.it> |
| Organization | JRE Trading Ltd |
On Sat, 4 Feb 2017 16:12:50 +0000 Andy Smith <andy@strugglers.net> wrote: > Hi Kamil, > > On Sat, Feb 04, 2017 at 10:11:00AM +0100, Kamil Jońca wrote: > > I have logrotate with config (excerpt) > > --8<---------------cut here---------------start------------->8--- > > compress > > […] > > > And since some days I started to receive *compressed* old syslog > > files :( instead uncompressed ones. > > If you have the "compress" directive there you should expect to get > compressed logs. > > > Nothing has happen in configuration. > > The only change was logrotate upgrade, from 3.8.7 to 3.11.0 > > Can anyboty confirm that there is difference between these > > versions? > > I can't. As far as I can see you should expect compressed rotated > files with your config, both in 3.8.7 and 3.11.0. > I'm on 3.11.0 on sid, behaviour appears unchanged. Compression options for rsyslog are compress and delaycompress, meaning that the open logfile and the previous one are uncompressed, earlier ones are compressed. I'm fairly sure this has been the Debian default for years. -- Joe
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
logrotate - got compressed log kjonca@poczta.onet.pl (Kamil Jońca) - 2017-02-04 10:40 +0100
Re: logrotate - got compressed log Andy Smith <andy@strugglers.net> - 2017-02-04 17:20 +0100
Re: logrotate - got compressed log kjonca@poczta.onet.pl (Kamil Jońca) - 2017-02-04 18:30 +0100
Re: logrotate - got compressed log Joe <joe@jretrading.com> - 2017-02-04 20:30 +0100
Re: logrotate - got compressed log kjonca@poczta.onet.pl (Kamil Jońca) - 2017-02-05 09:30 +0100
Re: logrotate - got compressed log Joe <joe@jretrading.com> - 2017-02-04 20:30 +0100
csiph-web