0
Tomcat的日志(access_log
)在刷新之前会被缓存30秒。我怎样才能消除这种延迟?我想在我的access_log
中有实时日志。在春天开机1.5,我有Spring引导1.4.1嵌入式tomcat 8 - 日志缓存30秒
server.tomcat.accesslog.buffered=true;
在
application.properties
,我认为正是这么做的。
Tomcat的日志(access_log
)在刷新之前会被缓存30秒。我怎样才能消除这种延迟?我想在我的access_log
中有实时日志。在春天开机1.5,我有Spring引导1.4.1嵌入式tomcat 8 - 日志缓存30秒
server.tomcat.accesslog.buffered=true;
在
application.properties
,我认为正是这么做的。
根据the change log,server.tomcat.accesslog.buffered
自v1.5.0.RC1开始引入。 因此,如果您想使用它,您可能需要升级或将更改应用到Spring Boot 1.4.1。