How to enable debug in slf4j Logger?

后端 未结 9 775
醉酒成梦
醉酒成梦 2020-12-24 05:21

How to globally enable debug for all the slf4j.Logger objects?

9条回答
  •  情深已故
    2020-12-24 05:32

    Use logback as the slf4j binding.

    The default behaviour without an configuration file is to log all events at level DEBUG and above to System.out. See http://logback.qos.ch/manual/configuration.html#automaticConf for details.

提交回复
热议问题