Calendar to use for time zone display in date-time formatting.
Calendar to use for time zone display in date-time formatting.
Return the date formatter to use for log messages.
Return the date formatter to use for log messages.
Return the string representation of a given log level's name
Return the string representation of a given log level's name
Returns the formatted name of the node given a LogRecord
Returns the formatted name of the node given a LogRecord
Return the string to prefix each log message with, given a log level, formatted date string, and package name.
Return the string to prefix each log message with, given a log level, formatted date string, and package name.
Return formatted text from a java LogRecord.
Return formatted text from a java LogRecord.
Return the line terminator (if any) to use at the end of each log message.
Return the line terminator (if any) to use at the end of each log message.
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.
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).
Truncate stack traces in exception logging (line count).
Truncates the text from a java LogRecord, if necessary
Truncates the text from a java LogRecord, if necessary
Use full package names like "com.example.thingy" instead of just the toplevel name like "thingy"?
Use full package names like "com.example.thingy" instead of just the toplevel name like "thingy"?
Formatter that logs only the text of a log message, with no prefix (no date, etc).