If there are no archiving schedules in the list then no archiving is performed and the log files defined in the Rules/Filters/Actions will continue to grow in size as messages are received.
To add a new archive schedule, right click on the "Archiving" option and choose "Add new archive schedule" from the popup menu.
The list of scheduled archives are run in order from top to bottom. If the archive is enabled and the time of day matches the specified time then the archive is activated. All the individual log files in the source folder that match the file specification and size are moved into the destination archive folder.
The destination archive folder created, is the specified destination folder with the current date appended.
Example: "C:\Program Files\Syslogd\Dated Syslogs\2005-02-23\"
The format of the date stamp is YYYY-MM-DD
Note: All the individual log files are moved into this one new folder, therefore make sure you use unique file names for your log files. Kiwi Syslog Daemon's archiving facility will not move or recurse subfolders. As of version 8.0.2, the archiver will only move files at the root of the named directory, and not files within any subfolders. Future versions of Kiwi Syslog Daemon will remove this limitation.
Alternatively, you can have each file moved and renamed. The new name will include the current date as part of its name.
Example: "C:\Program Files\Syslogd\Dated Syslogs\MyLogFile2005-02-23.txt"
The format of the date stamp is YYYY-MM-DD
When using the "Hourly" archive option, the appended date stamp part of the file name will contain a value from 01 to 24 indicating the hour that the archive was created.
Example: "C:\Program Files\Syslogd\Dated Syslogs\MyLogFile2005-02-27-24.txt"
The format of the date stamp is YYYY-MM-DD-HH, where HH is a value from 01 to 24
When an archive file by the same name already exists, an additional number from 001 to 099 is appended to the file or folder name. This stops existing archives getting overwritten in cases where the destination file or folder is used for more than one archive schedule. Pressing the "Test Archive" button can also cause more than one archive file or folder to be created for a single day.
The registered version supports zipping of the archive folder and files. You can also run an external program when a file is moved or when the archive is completed. The file names or archive folder can be passed to the external program. An external e-mail program such as BLAT can be used to send the archived log files to you via e-mail whenever the archive is run.
You can check the "Notify by e-mail" check box to be notified when the archive is completed. The messages are sent to the "Statistics" notify e-mail list specified under the e-mail options. Each notification message contains a list of all the files moved and zipped
Run external program command line options.
Various program variables can be passed to the external program as parameters. Rather than remembering the all the %parameter options, you can simply click on the blue Variable options link and choose a parameter from the popup menu. The chosen option will be placed into the Command line: text box at the current cursor location.
The available variables:
%Folder = Dest folder inc date stamp
Example: C:\Program Files\Syslogd\Dated logs\2004-02-27\
%FileLong = Dest file name inc path
Example: C:\Program Files\Syslogd\Dated logs\2004-02-27-001\SyslogCatchAll.txt
%FileShort = Dest file name (no path or extn)
Example: SyslogCatchAll
%DateStamp = Date Stamp
Example: 2004-02-27
%FileZipLong = Dest zip file inc path
Example: C:\Program Files\Syslogd\Dated logs\2004-02-27-006\2004-02-27.zip
%FileZipShort = Dest zip file name (no path)
Example (All files into single zip): 2004-02-27
Example (zip into separate files): SyslogCatchAll