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。