Tomcat 日志记录延迟多天

Tomcat 日志记录延迟多天

我注意到,在我们规模较大的 Tomcat 生产部署中,一些日志显示了日志输出中“滞后数天”的问题。我们在一台 8 核服务器上安装了第三方供应商应用程序,该服务器在 Tomcat 中总共运行 9 个应用程序,典型负载为 20-30 个并发用户。

例如,在查看 SOAP API 日志请求时,我看到记录的活动如下:

[2013-11-25 01:16:01,102] Pay History 11/27/2013 has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:01,321] PRItemPayHist SALARY has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:01,759] Checkbook Item 11/27/2013 has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:01,868] PRItemEmployeeTaxHist Federal Income Tax has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:01,977] PRItemEmployeeTaxHist FICA Medicare has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:02,087] PRItemEmployeeTaxHist FICA Social Security has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:02,196] PRItemEmployeeTaxHist Maine State Income Tax has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:02,524] PRItemEmployerTaxHist FICA Medicare has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:02,634] PRItemEmployerTaxHist FICA Social Security has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:02,743] PRItemEmployerTaxHist WORKERS COMP has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:02,962] Checkbook Direct Deposit Item Co Checkbook Direct Deposit Item Co has been updated by Web API user Application User at 11/21/2013 06:27 PM
[2013-11-25 01:16:03,071] updateArr updated: 11 time=5391 ms
[2013-11-25 08:41:00,930] Unloaded from WEBAPI Server at 11/21/2013 10:16 PM

请注意,日志记录的时间是 2013-11-25,但记录的详细信息显示为 2013 年 11 月 21 日。我对 Tomcat 和日志记录机制非常不熟悉,但这似乎很不寻常?日志记录可以排到那么远吗?或者实际的 Web 请求在实际处理之前要排队 4 天?

相关内容