🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #283113

Re: Restarting rsyslog with cron

#283113
From: Anonymous
Date: Sun, 19 Jun 2016 00:53
20 lines
1452 bytes
Cornelis Tromp formulated on Saturday :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have configured a cron job to clear mail.log
> and other log files in /var/log every 24 hours
>
> However, rsyslog will not restart...
>
> I can run the following command manually having
> first navigated to  /var/log all is OK.
>
>  rm mail.log && touch mail.log ; service rsyslog restart
>
> Any suggestions??
>
  I don't think that you need to restart rsyslog.  Once you have 
cleared the log, its cleared.  I am not so sure that not keeping or 
clearing the mail.log really does that much good.  syslog has much of 
the same info therin and you don't want to clear it.
Technical Details
Message-ID: <nk4qf2$p8f$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <5e8cd9c5afdecbe030be8bfeb3b9e96f@anon.holland.remailer.nl>

Show Full Headers
Complete Article Headers
Message-ID: <nk4qf2$p8f$1@news.mixmin.net>
Subject: Re: Restarting rsyslog with cron
Date: Sat, 18 Jun 2016 19:53:51 -0500
From: Anonymous <anonymous@anonymous.com>
References: <5e8cd9c5afdecbe030be8bfeb3b9e96f@anon.holland.remailer.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Anonymous
Reply-To: anonymous@anonymous.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 19 Jun 2016 00:53:54 -0000 (UTC)
X-Newsreader: MesNews/1.08.06.00-gb