[Logwatch] Logwatch on central syslog server
mjoyce at jnjconsulting.co.uk
Thu Jul 31 08:38:22 MST 2008
I can definitely get a Python wrapper that handles the logdir - thanks, will
try that. Will report back.
Mike Tremaine wrote:
> MattJoy wrote:
>> Has anyone configured a central instance of logwatch to process log files
>> a similar custom structure and filename convention and can they share how
>> they did it?
> The other way which is a little tighter is to use a short wrapper
> written in bash or perl or whatever you like that will format up the
> path to the logfile and feed it to the commandline logwatch call.
> So the key here is the --logdir flag. If you can pass --logdir
> "/logs/*/2008/07/28/" and the stick *.secure.authpriv.log in the logfile
> conf for secure.conf it should work.
> Hope that helps.
> Logwatch mailing list
> Logwatch at logwatch.org
View this message in context: http://www.nabble.com/Logwatch-on-central-syslog-server-tp18729768p18757379.html
Sent from the Logwatch - General mailing list archive at Nabble.com.
More information about the Logwatch