Record Message in a Log File

 Content Previous Next

Topic Content

Message to Log

Additional File Filter

Miscellaneous

 

 

This option defines action properties for a log message that is recorded in any file or AnyFileBackup log.

 

 

Message to Log

Text

A message text that will be recorded in a file or AnyFileBackup log.

Write to

Select where you want to write a message to:

 

a log file on disk (path and filename to be specified below), or

 

AnyFileBackup internal log which is displayed at the bottom of the Main Window.

 

If recorded to file, log messages will not be recorded to AnyFileBackup log and vise versa.

File name

А full path and filename of a file where log messages will recorded to. Messages will be recorded in plain text format.

 

If only filename is specified, that file will be saved in:

 

Windows Vista / 7 / 8 / 2008: 'C:ProgramDataAnyFileBackupPro'

 

Windows XP: 'C:Documents and SettingsAll UsersApplication DateAnyFileBackupPro'.

 

 

If left blank, the message will be recorded to 'AnyFileBackupPRO.log' that will be saved in the folder mentioned above.

If file exists

If a log file already exists, AnyFileBackup can either:

 

'Overwrite file': existing log file will be deleted and replaced with a new one; all records in the existing log file will be lost; or

 

'Append file': every new log message will be added to the end of the existing log file. This allows to keep a full record of all messages but there is a risk that the log file may become very long and difficult to navigate.

 

 

Additional File Filter

This option is visible and applies if, and only if, the action is a PART of the Backup step of the Task Scenario.

 

Additional File Filter distinguishes files by mask determining to which file(s) this particular action will or will not apply. In all other respects it is no different from the Additional File Filter that exists in every Target.

Included files

A list of file masks that describe files to which this particular action will apply.

 

Please note, that these masks should somehow overlap with masks specified in SOURCE > Additional File Filter > Included Files (if in use) and should not be completely excluded by masks specified in SOURCE > Additional File Filter > Included Files (if in use). Otherwise, this action will not apply to any files.

Excluded files

A list of file masks that describe files to which this particular action will not apply.

 

 

Miscellaneous

Condition

This option is visible and applies if, and only if, the action is located BELOW the Backup, Two-Way Synchronization, Monitoring, or Clean-up step of the Task Scenario.

 

This is a description of an event upon occurrence of which this action will be performed. The event relates either to Source or to task generally. The following events are covered:

 

'Always': action is event-neutral and will always start when AnyFileBckup reaches it at the Task Scenario.

 

'Success': the term 'success' refers to successful completion of either:

-- Backup stage (all files have been transferred from Source to Target(s) and other actions within Backup have been performed), or

-- Two-Way Synchronization stage (Source 1 and Source 2 have been synchronized), or

-- Monitoring stage (Source parameters that are being monitored are exceeded their threshold limits or relevant changes have occurred).

 

When any of these stages is completed properly (depending on the task type), action with this condition will perform.

 

'Error': action will start when task has not performed properly and produced an error. This error may occur at any previous stage of task scenario. Please note that this action will only work if task 'on error' behaviour is set to 'continue task execution' (see Task error handling for details), otherwise this action will not start. It is also recommended put action with this condition at the end of the task scenario, so it can catch any errors that have occurred in a course of task performance.

 

'No changes': this condition is the opposite to the 'Success'--when nothing happens at any of the stages described above: no files have been transferred between Source and Target(s), Source parameters that are being monitored are within their threshold limits or no relevant changes have occurred.
Enabled

If enabled, this action is active and will be used in Scenario. If disabled, it will remain in the Task Scenario but will be completely ignored by task. To distinguish it from enabled actions, disabled actions are strokeout and coloured in gray.

Title

This is a custom name that will be displayed in the Task Scenario instead of the default title. Press the 'Apply' button for changes to take effect.

 Content Previous Next