简体   繁体   中英

Run jar's in non-debug mode

When i run a jar by java -jar xx.jar on Centos it run in debug mode and that's taking too much time

the jar was made by mvn clean package

how can i run it without the debug mode?

You aren't running in debug mode, but you are logging at DEBUG level.

Change the log4j.xml from DEBUG to INFO, repackage the JAR, and try again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM