To improve the readability of Dynamo logged output, you can configure certain properties in the log listener component. The following table shows the properties that you can set on components of these classes:
atg.nucleus.logging.FileLogger
atg.nucleus.logging.RotatingFileLogger
atg.nucleus.logging.PrintStreamLogger
Property | Value Type | Purpose |
---|---|---|
| Boolean | Set to |
| integer | Determines the maximum number of lines to log when a log event occurs that contains a Java Exception. |
| Boolean | Indicates whether or not the logging prefix (date and component name) should be prepended to each line of logging output for multi-line log messages. |
You can configure the values of these properties in each of the following log listener components:
/atg/dynamo/service/logging/{DebugLog, ErrorLog, InfoLog, WarningLog,
ScreenLog}
The default value for cropStackTrace
is true
. The default value for maxLinesInStackTrace
is 10
. The default value for prefixEachLine
is true
.