This topic created in 1845 days ago, the information mentioned may be changed or developed.
了解到有个 DeferredLog,这玩意在 spring 上下文完全初始化之前会缓存日志,如果此时配置文件格式错误,抛的异常不会打到指定文件。看样子只能用 shell 脚本解决这个日志打印问题了。大佬们有什么高招麽??
1 replies • 2021-06-15 15:17:40 +08:00
 |
|
1
guxingke Jun 15, 2021
shell 不也挺好。。。 xx.sh 1>stdout.log 2>stderr.log &
|