Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #177415
| From | Joe <joe@jretrading.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: logrotate - got compressed log |
| Date | 2017-02-04 20:30 +0100 |
| Message-ID | <t7ec1-529-9@gated-at.bofh.it> (permalink) |
| References | <t74Z4-6Xw-11@gated-at.bofh.it> <t7bea-2Tv-19@gated-at.bofh.it> <t7cjT-3BN-15@gated-at.bofh.it> |
| Organization | JRE Trading Ltd |
On Sat, 04 Feb 2017 18:04:12 +0100 kjonca@poczta.onet.pl (Kamil Jońca) wrote: > Andy Smith <andy@strugglers.net> writes: > > > 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. > Sorry, I did not write precisely. > I started to receive compressed old logs by *mail*. > So far, there were simple text in mail. > > I understand, that old files on disk are compressed. > Presumably you should be emailed the file after rotation, when it has been closed, i.e. the version you should get is <logfile>.1 which if originating with rsyslog, should not be compressed. <logfile>.2 and subsequent should be compressed. -- Joe
Back to linux.debian.user | Previous | Next — Previous in thread | Next 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