Format for the log-line prefix, if any.
Format for the log-line prefix, if any.
There are two positional format strings (printf-style): the name of the level being logged (for example, "ERROR") and the name of the package that's logging (for example, "jobs").
A string in <
angle brackets >
will be used to format the log entry's timestamp, using
java's SimpleDateFormat
.
For example, a format string of:
"%.3s [<yyyyMMdd-HH:mm:ss.SSS>] %s: "
will generate a log line prefix of:
"ERR [20080315-18:39:05.033] jobs: "
Should dates in log messages be reported in a different time zone rather than local time?
If set, the time zone name must be one known by the java TimeZone
class.
Truncate log messages after N characters.
Truncate log messages after N characters. 0 = don't truncate (the default).
Truncate stack traces in exception logging (line count).
Use full package names like "com.example.thingy" instead of just the toplevel name like "thingy"?
(Since version 6.12.1) use Formatter directly