[nos-bbs] Changing JNOS log file name
Michael E Fox - N6MEF
n6mef at mefox.org
Sun Sep 28 01:52:48 EDT 2014
Also, the use of logrotate and appended date or sequence number would make the rotated/historical logs sort in order, instead of the current order such as:
02Sep14 … etc.
From: nos-bbs-bounces at tapr.org [mailto:nos-bbs-bounces at tapr.org] On Behalf Of Michael E Fox - N6MEF
Sent: Saturday, September 27, 2014 10:06 PM
To: Wm Lewis; TAPR xNOS Mailing List
Subject: Re: [nos-bbs] Changing JNOS log file name
Spool/mail.log works that way. I, too, would prefer logs/jnos.log with logrotate.
Sent from my Verizon Wireless 4G LTE smartphone
-------- Original message --------
From: Wm Lewis
Date:09/27/2014 8:58 PM (GMT-08:00)
To: TAPR xNOS Mailing List
Subject: [nos-bbs] Changing JNOS log file name
Currently JNOS automatically names its log files in the format [ddmmyy] (example : "25Sept14" or "01Jan14")
Is there a way to change the name of the logs to something like "jnos.log" and have jnos always leave the log file name the same?
Then I could use use linux's log-rotate feature to rotate the logs say, once a week.
I'm using an intrusion detection software scanning the logs for "bad login" and automatically ban ip addresses that have 3 or more failed login attempts, via an iptables drop command.
Only, the intrusion detection software (Fail2Ban) needs the log file name to always be the same name.
Anyone know if it's possible to setup jnos so it always keeps the log file name the same?
Bill - KG6BAJ
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nos-bbs