...........
2019-03-29 13:39:41,136 - Initializing ExecutorService 'applicationTaskExecutor'
2019-03-29 13:39:41,238 - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2019-03-29 13:39:41,653 - Started LoggerTest in 5.486 seconds (JVM running for 7.055)
//上面的是控制台里的日志,如何能把上面的日志过滤掉 ?
//下面的是log.info()里的内容,文件里只想记录这个
2019-03-29 13:39:41,773 - test info name: imooc ,password: 123456
2019-03-29 13:39:41,773 - test info name: imooc, password: 123456