Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.2.3, 1.3.0-alpha5
-
Jetty 9.4.34.v20201102
Debian,
java 8/11
Description
according to the documentation: https://logback.qos.ch/manual/layouts.html
https://logback.qos.ch/manual/layouts.html#threadNameI / threadName | Name of the thread which processed the request. |
but when you set [%*I*] or [%*threadName*] at logback-access.xml
in the log file will be saved "[-]"
no value is set as threadName,
eg.
<encoder>
<pattern>%h %l %u [%date\{ISO8601}] [%I] "%r" %s %b "%i{Referer}" [%D]ms</pattern>
</encoder>