Tenho notado em nossa ampla implantação de produção do Tomcat que alguns registros exibem esse problema de estar "vários dias atrasados" na saída do log. Temos um aplicativo de fornecedor de terceiros instalado em um servidor de oito núcleos que executa um total de nove aplicativos no Tomcat, com uma carga típica de 20 a 30 usuários simultâneos.
Por exemplo, ao revisar uma solicitação de log da API SOAP, vejo a atividade sendo registrada com a seguinte aparência:
[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
Observe como o tempo de registro é 2013-11-25, mas o detalhe que está sendo registrado diz 21/11/2013. Eu não estou muito familiarizado com o Tomcat e com o mecanismo de registro, mas isso parece muito incomum? O logging pode ser copiado na fila até agora? Ou as solicitações reais da web são enfileiradas por quatro dias antes de serem realmente manipuladas?