You can use a formatting file logger (atg.service.datacollection.FormattingFileLogger) to write data from a data collection event to a flat file in a format you specify. A formatting logger lets you specify:

FormattingFileLogger components are also rotating loggers: you can set a schedule where the log file is closed and a new log is opened with a different name.

In production systems, you should use DataListenerQueues to feed data to your formatting file logger. This allows unlogged data to queue up without being lost and without affecting the performance of data sources. See Data Collector Queues.

 
loading table of contents...