步骤:
- 构建jar:mvn clean package assembly:single
- 运行jar:java -jar target/java-logback-demo-1.0-SNAPSHOT-jar-with-dependencies.jar ,查看日志输出到logs文件夹下的哪个文件
资料 | 说明 |
---|---|
gitlab | https://github.com/qos-ch/logback |
步骤:
资料 | 说明 |
---|---|
gitlab | https://github.com/qos-ch/logback |