🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mix error.log deletion

#297449
From: Red John
Date: Thu, 25 Jan 2018 19:48
47 lines
1832 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 25 Jan 2018 14:05:08 -0500, you wrote:
>
> On 01/25/2018 01:36 PM, Red John wrote:
> > I currently have 45 errors in my mix error.log file and want to
> > setup a cron job to delete this file every 48 hours.
>
> As the mix user run crontab -e and add this line at the bottom of the
> file. Save changes. It will delete your log file every 2 days at 11pm:
>
> 0   23   */2   *   *  /bin/rm /home/mix/Mix/error.log &> /dev/null
>
>
> > If I delete
> > the file will mix recreate the file on its own when a new error is
> > created.
>
> Yes.
>
>
> Alternatively you can turn off Mixmaster logging altogether. In mix.cfg
> change this
>
> ERRLOG      error.log
>
> to this
>
> ERRLOG      /dev/null
>
>
> In the future you can turn logging back on at any time. Just edit
> mix.cfg again and reverse the changes.
>
>
>  SEC3 Pinger Admin
>  Contact information at <https://sec3.net>

Thanks for sharing.

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlpqLLEACgkQSrCPi4AVv5lRqACggBhYcgxxmLBb9gGN7pP7X2Qv
g5IAn3vSsSc2vYllMLMm1CrOeUnbLdWr
=CQeO
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <20180125194809.B548312007F@fleegle.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!news.usenet.farm!..!..!not-for-mail
References: <20180125183642.94B01120083@fleegle.mixmin.net> <p4d9p4$qha$4@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <20180125194809.B548312007F@fleegle.mixmin.net>
Subject: Re: Mix error.log deletion
Date: Thu, 25 Jan 2018 19:48:09 +0000
From: Red John <redjohn@nym.mixmin.net>
References: <20180125183642.94B01120083@fleegle.mixmin.net> <p4d9p4$qha$4@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Injection-Info: mail2news.mixmin.net; posting-host=mail2news.mixmin.net;
 mail-complaints-to=abuse@mixmin.net
Lines: 47