Logging parallel threads in logback

前端 未结 4 634
生来不讨喜
生来不讨喜 2021-02-06 03:10

I\'ll try to make a brief description of my Selenium framework so that I can explain my problem.

I use Selenium 2 (current version 2.3.1) + test

4条回答
  •  悲&欢浪女
    2021-02-06 03:38

    FYI, you can output the thread id using %thread as described in the documentation at http://logback.qos.ch/manual/configuration.html :

    The output is formatted using a PatternLayoutEncoder set to the pattern %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n.
    

提交回复
热议问题