The CONFIGURATION element / The APPLICATION_SERVER element |
The Genero Application Server creates log files for each of its dispatchers, proxies, and DVMs started. The LOG element and its child elements specify where the log files are created, the format of the log messages, the type of information logged, and the maximum size of a single log message.
It is possible to specify multiple LOG elements. For example, you may need to have separate log files capturing different categories of messages.
<LOG> <OUTPUT Type="DAILYFILE|CONSOLE|CONSOLE,DAILYFILE">path/filename</OUTPUT> <FORMAT [ Type="TEXT" ]>fields-id</FORMAT> <CATEGORIES_FILTER>FILTERNAME [...]</CATEGORIES_FILTER> [ <RAW_DATA MaxLength="length" /> ] </LOG>
The LOG element may contain the following child elements:
<LOG> <OUTPUT Type="DAILYFILE">$(res.log.output.path)</OUTPUT> <FORMAT Type="TEXT">time event-type event-params</FORMAT> <CATEGORIES_FILTER>GAS ACCESS PROCESS DEPRECATED ERROR WARNING</CATEGORIES_FILTER> <RAW_DATA MaxLength="-1" /> </LOG>
To support more than one GAS process using the same log configuration, if a required log file cannot be opened, the GAS process ID will be added to the log file name.