when place thelogback.xml under /src/main/resource,the executable jar would not print log in the log file,instead it prints log on console.
after placing thelogback.xml under /src/main/java,everything works well.
Reference:
[1]http://stackoverflow.com/questions/20818665/how-to-setup-logback-configuration
原文链接:https://www.f2er.com/xml/295903.html