spring boot line set the log level of print

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/Z__Sheng/article/details/90770215

spring boot line set the log level of print


1. When we project labeled jar package, we start with the bat script
$ my.jar the Java -jar -debug
note that we can add in the script directly -debug, printed after the project is to start debug log

2. We can also configure the debug = true in yml inside, but that if we want to change, then, need to change jar inside content, not suitable. Line, then, is directly written in the script which is better bat

Guess you like

Origin blog.csdn.net/Z__Sheng/article/details/90770215