LogFile Adapter

The LogFile Adapter is a file reader that can be used with any text file containing records that can be recognized by Perl regular expressions that describe the record and the record separator.

Although the LogFile Adapter is meant to be a generic adapter for any text-based log file, special adapter configurations and MAP files are supplied to monitor the most common UNIX log file produced by the syslog process and Apache log files. The mcxa.conf file includes sample adapter configurations for each of these functions.


On Windows systems, the LogFile Adapter detects that the log file has changed if its size has decreased. This means that the LogFile Adapter will not function properly if the log file is replaced by a larger file. If such a situation occurs, delete the older log file about 30 seconds before replacing it. Another solution is to modify the last modification time of the configuration file.

Was this page helpful? Yes No Submitting... Thank you