Home  >  Q&A  >  body text

java - log4j和slf4j 【配置有知道的么】

请问有哪位JavaWeb方面的大牛知道如何配置项目中的日志打印信息,以及保存日志相关的。

大家讲道理大家讲道理2744 days ago526

reply all(3)I'll reply

  • ringa_lee

    ringa_lee2017-04-18 10:49:51

    Add the corresponding jar package, and then add the configuration file. As for the property settings of the configuration file, there are many posts on the Internet

    reply
    0
  • 阿神

    阿神2017-04-18 10:49:51

    Log4j usage
    I summarized it in this blog, you can take a look.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:49:51

    You’re too lazy, brother: https://yq.aliyun.com/article...

    reply
    0
  • Cancelreply