To configure a custom log output
| Element | Description |
|---|---|
| dd | Day |
| MMM | Month |
| yyyy | Year |
| HH | Hours |
| mm | Minutes |
| ss | Seconds |
| Element | Description |
|---|---|
| %d | Date and time |
| %5p | Verbosity level associated with the entry |
| %c{1} | ID of the location where the action or error is occuring |
| %L | Port number |
| %m | Reported action |
| %n | Output |
Spaces and symbols may be used to format the output. For example:
<param name="ConversionPattern" value="%d{dd MMM yyyy HH:mm:ss,SSS} %5p %c{1}:%L - %m%n" />
The log output follows the format of [date] [verbosity level] [ID of the action's location]:[port number] - [action][output]
Related topics
© 2012 Adaptive Computing![]()