slf4j + java.util.logging: how to configure?

后端 未结 6 881
孤独总比滥情好
孤独总比滥情好 2021-01-01 09:35

I\'m trying to use slf4j + java.util.logging. I know how to set up the Java source code to do this via logger = LoggerFactory.getLogger(...) and logger.wa

6条回答
  •  一整个雨季
    2021-01-01 09:52

    See this tutorial on jul:

    java -Djava.util.logging.config.file=myLoggingConfigFilePath

    But I would recommend to go for Logback

提交回复
热议问题