Logging to a file

Support, Questions and Discussions on WinSyslog

Moderator: alorbach

Google Ads


Logging to a file

Postby rolltidega » Tue Mar 15, 2011 4:51 pm

I would like to log all received syslog to a file, with a new file being created every minute. Is this possible and how would I do it?
rolltidega
New
 
Posts: 1
Joined: Tue Mar 15, 2011 4:48 pm

Re: Logging to a file

Postby alorbach » Wed Mar 23, 2011 1:10 pm

Hi,

this would actually be possible by using property replacements in the filename.
Attached you will find a screenshot showing how you could configure such File Logging Action to create a new logfile every minute.
And here is the File Base Name configuration string:
Code: Select all
WinSyslog-%timegenerated:1:10%-%timegenerated:12:13%-%timegenerated:15:16%
Attachments
WinSyslog-file-minute.png
WinSyslog-file-minute.png (89.38 KiB) Viewed 16790 times
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Google Ads



Return to WinSyslog

Who is online

Users browsing this forum: No registered users and 0 guests

cron