Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Custom format
Help | Content Gateway | Version 8.0.x
The XML-based custom log format is more flexible than the standard log file formats, giving you more control over the type of information in your log files. Create a custom log format if you need data for analysis that is not available in the standard formats. You can decide what information to record for each Content Gateway transaction and create filters to define which transactions to log.
The heart of the custom logging feature is an XML-based logging configuration file (logs_xml.config) that enables you to create modular descriptions of logging objects. The logs_xml.config file uses three types of objects to create custom log files:
*
The LogFormat defines the content of the log file using printf-style format strings.
*
The LogFilter defines a filter so that you include or exclude certain information from the log file.
*
The LogObject specifies all the information needed to produce a log file. For example:
*
*
*
The ASCII_PIPE mode writes log entries to a UNIX named pipe (a buffer in memory). Other processes can then read the data using standard I/O functions. The advantage of using this option is that Content Gateway does not have to write to disk, freeing disk space and bandwidth for other tasks.
 
Note 
*
*
*
*
*
*
 
Note 
To generate a custom log format, you must specify at least one LogObject definition. One log file is produced for each LogObject definition. You can create a custom log format in the Content Gateway manager or by editing a configuration file.
1.
On Configure > Subsystems > Logging > Custom, enable the Custom Logging option.
2.
The Custom Log File Definitions area displays the logs_xml.config file. Add LogFormat, LogFilter, and LogObject specifications to the configuration file.
For detailed information about the logs_xml.config file and associated object specifications, see logs_xml.config.
3.
Click Apply.

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Copyright 2016 Forcepoint LLC. All rights reserved.