The APPLICATION_SERVER element / The LOG element |
The CATEGORIES_FILTER element specifies the type of log messages to be captured. Specify multiple values by listing multiple filter names, separated by spaces.
This element is optional. If the CATEGORIES_FILTER element is omitted, no categorized messages are logged.
Filter Names | Description |
---|---|
DEBUG | Log internal information for debugging. Important: Do not set unless requested by your support center.
|
WARNING | Log warning messages. |
ERROR | Log error information. |
MUTEX | Log multithreading information. |
SESSION | Log session management information. |
GAS | Log information about the Genero Application Server version, build and package. |
LOG | Display log parameters. |
CONFIGURATION | Log configuration management information. |
DEPRECATED | Log warnings if a deprecated function is used in a template. |
PROCESS | Log Dynamic Virtual Machine data, error, any process handled by the Genero Application Server. |
VM | Log communications with the Dynamic Virtual Machine. |
FT | Log information about file transfer. |
ACCESS | Log summary information about the requests handled by the server. |
HTTP | Log http requests (interaction with the User Agent). |
SOCKET | Log information concerning sockets (creation, connection, communication, and so on). |
TASK | Extracts the time of all the things done by the GAS (a technical attribute). |
TEMPLATE | Information about TEMPLATE template processing. |
TIMER | Information about timers creation, destruction and expiration. |
WA | Context of the Web applications. |
ALL | Activate all categories except DEBUG. |
This example would be valid for the CATEGORIES_FILTER element:
<CATEGORIES_FILTER>ERROR WARNING</CATEGORIES_FILTER>
If you encounter an issue, you can send a detailed log file to your support center.
To create the detailed daily log file, use the ALL pseudo category as the category filter.
<LOG> <OUTPUT Type="DAILYFILE">/work/tmp/gas</OUTPUT> <FORMAT>date time relative-time process-id thread-id contexts event-type event-params<FORMAT> <CATEGORIES_FILTER>ALL</CATEGORIES_FILTER> </LOG>
This example generates various log files in the /work/tmp/gas directory, depending on the dispatcher and the application or service run.