xref: /aosp_15_r20/external/slf4j/slf4j-simple/src/test/resources/simplelogger.properties (revision d4cc4a21ff30dee54251e974d02850809c70b030)
1*d4cc4a21SXin Li# SLF4J's SimpleLogger configuration file
2*d4cc4a21SXin Li# Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err.
3*d4cc4a21SXin Li
4*d4cc4a21SXin Li# Default logging detail level for all instances of SimpleLogger.
5*d4cc4a21SXin Li# Must be one of ("trace", "debug", "info", "warn", or "error").
6*d4cc4a21SXin Li# If not specified, defaults to "info".
7*d4cc4a21SXin Li#org.slf4j.simpleLogger.defaultLogLevel=info
8*d4cc4a21SXin Li
9*d4cc4a21SXin Li# Logging detail level for a SimpleLogger instance named "xxxxx".
10*d4cc4a21SXin Li# Must be one of ("trace", "debug", "info", "warn", or "error").
11*d4cc4a21SXin Li# If not specified, the default logging detail level is used.
12*d4cc4a21SXin Li#org.slf4j.simpleLogger.log.xxxxx=
13*d4cc4a21SXin Li
14*d4cc4a21SXin Li# Set to true if you want the current date and time to be included in output messages.
15*d4cc4a21SXin Li# Default is false, and will output the number of milliseconds elapsed since startup.
16*d4cc4a21SXin Li#org.slf4j.simpleLogger.showDateTime=false
17*d4cc4a21SXin Li
18*d4cc4a21SXin Li# The date and time format to be used in the output messages.
19*d4cc4a21SXin Li# The pattern describing the date and time format is the same that is used in java.text.SimpleDateFormat.
20*d4cc4a21SXin Li# If the format is not specified or is invalid, the default format is used.
21*d4cc4a21SXin Li# The default format is yyyy-MM-dd HH:mm:ss:SSS Z.
22*d4cc4a21SXin Li#org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss:SSS Z
23*d4cc4a21SXin Li
24*d4cc4a21SXin Li# Set to true if you want to output the current thread name.
25*d4cc4a21SXin Li# Defaults to true.
26*d4cc4a21SXin Li#org.slf4j.simpleLogger.showThreadName=true
27*d4cc4a21SXin Li
28*d4cc4a21SXin Li# Set to true if you want the Logger instance name to be included in output messages.
29*d4cc4a21SXin Li# Defaults to true.
30*d4cc4a21SXin Li#org.slf4j.simpleLogger.showLogName=true
31*d4cc4a21SXin Li
32*d4cc4a21SXin Li# Set to true if you want the last component of the name to be included in output messages.
33*d4cc4a21SXin Li# Defaults to false.
34*d4cc4a21SXin Li#org.slf4j.simpleLogger.showShortLogName=false
35