Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #209670 > unrolled thread

logging Q's for stretch

Started byGene Heskett <gheskett@shentel.net>
First post2019-06-06 04:30 +0200
Last post2019-06-06 20:50 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  logging Q's for stretch Gene Heskett <gheskett@shentel.net> - 2019-06-06 04:30 +0200
    Re: logging Q's for stretch David Wright <deblis@lionunicorn.co.uk> - 2019-06-06 05:20 +0200
    Re: logging Q's for stretch Greg Wooledge <wooledg@eeg.ccf.org> - 2019-06-06 14:30 +0200
      Re: logging Q's for stretch Gene Heskett <gheskett@shentel.net> - 2019-06-06 20:50 +0200

#209670 — logging Q's for stretch

FromGene Heskett <gheskett@shentel.net>
Date2019-06-06 04:30 +0200
Subjectlogging Q's for stretch
Message-ID<y5Qk9-59F-1@gated-at.bofh.it>
Greetings all;

Since upgrading to stretch, my syslog is being spammed by freshclam, 
clamav, and spamd. These has their own logs in wheezy, so syslog was how 
I kept track of the hardware.

So syslog is growing rapidly and gets rotated in just a day or so, and 
that means a "tail -fn xxx" watching it is stuck looking at the old 
file, whereas I could just leave it run for a couple months and 
the "tail" would also remain current but now I am lucky to get 3 days 
before the display is hung again  I'd like to fix both problems if 
possible.

How on stretch?

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [next] | [standalone]


#209673

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2019-06-06 05:20 +0200
Message-ID<y5R6x-5Gs-3@gated-at.bofh.it>
In reply to#209670
On Wed 05 Jun 2019 at 22:25:07 (-0400), Gene Heskett wrote:
> 
> Since upgrading to stretch, my syslog is being spammed by freshclam, 
> clamav, and spamd. These has their own logs in wheezy, so syslog was how 
> I kept track of the hardware.
> 
> So syslog is growing rapidly and gets rotated in just a day or so, and 
> that means a "tail -fn xxx" watching it is stuck looking at the old 
> file, whereas I could just leave it run for a couple months and 
> the "tail" would also remain current but now I am lucky to get 3 days 
> before the display is hung again  I'd like to fix both problems if 
> possible.
> 
> How on stretch?

I wasn't aware things had changed since … . I use tail -F, but adding
--retry is another way.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#209690

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2019-06-06 14:30 +0200
Message-ID<y5ZGN-2pq-1@gated-at.bofh.it>
In reply to#209670
On Wed, Jun 05, 2019 at 10:25:07PM -0400, Gene Heskett wrote:
> So syslog is growing rapidly and gets rotated in just a day or so, and 
> that means a "tail -fn xxx" watching it is stuck looking at the old 
> file,

That's what tail -F (capital F) is for.

[toc] | [prev] | [next] | [standalone]


#209699

FromGene Heskett <gheskett@shentel.net>
Date2019-06-06 20:50 +0200
Message-ID<y65Cy-5VR-3@gated-at.bofh.it>
In reply to#209690
On Thursday 06 June 2019 08:27:28 am Greg Wooledge wrote:

> On Wed, Jun 05, 2019 at 10:25:07PM -0400, Gene Heskett wrote:
> > So syslog is growing rapidly and gets rotated in just a day or so,
> > and that means a "tail -fn xxx" watching it is stuck looking at the
> > old file,
>
> That's what tail -F (capital F) is for.

Humm,, obviously I haven't read the man page recently.  Thanks for the 
reminder.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web