XenoGuard 4.0 Documentation

Logging Extension

The Logging Extension is an ideal upgrade for the XenoGuard Logging interface, enhancing its performance by allowing the creation of up to ten additional text channels. It enables the saving of arbitrary text entries, each with a unique timestamp, at any point during script execution, integrating seamlessly with existing logging data. Moreover, this extension includes actions to organize logging data into subfolders for better file management, replacing a single large log file with multiple organized smaller ones. This functionality is especially suited for test automation and detailed event logging, offering a comprehensive view of critical activities and facilitating the monitoring of significant errors and system events.

Here is an overview and explanation of each action provided by this extension:

The next table describes all the actions:

Action Description
Create Text Stream This action allows for the creation of a new text stream. A text stream is essentially a channel through which data in the form of text is sent for logging. Once such a stream is created, it can be used to continuously write data into a special log file.
Write Text Stream After a text stream is created with the above action, Write Text Stream enables writing specific data or information into this stream. This can be used to document events, errors, or other relevant information during script execution.
Get Root Path This action returns the main or root path where the logging files are stored. This can be useful to know where the log files are physically located on the storage medium and to ensure that they are stored in a secure place.
Create Sub Path Sometimes it can be useful to store logging files in specific subfolders for better organization. The Create Sub Path action allows the creation of such subfolders within the main logging path.
Start New Log File This action enables starting a new log file. This is particularly useful when you want to split the logging information into separate files, for example, based on date, script, or other criteria.


HTML Protocols