Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 94494 invoked from network); 29 Sep 2005 02:50:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2005 02:50:13 -0000 Received: (qmail 58777 invoked by uid 500); 29 Sep 2005 02:50:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 58739 invoked by uid 500); 29 Sep 2005 02:50:10 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 58726 invoked by uid 99); 29 Sep 2005 02:50:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 19:50:10 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 62A87122 for ; Thu, 29 Sep 2005 04:49:49 +0200 (CEST) Message-ID: <564596217.1127962189401.JavaMail.jira@ajax.apache.org> Date: Thu, 29 Sep 2005 04:49:49 +0200 (CEST) From: "Aaron Mulder (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-1029) tomcat web log seems to be created with wrong name and isn't found by the web log viewer portlet In-Reply-To: <196885665.1127955047793.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-1029?page=comments#action_12330770 ] Aaron Mulder commented on GERONIMO-1029: ---------------------------------------- There is no "needed format" -- the format used by the TomcatLogManagerImpl just needs to match the format used by the Tomcat access log valve. I took a stab at this, and it worked in my initial tests, but that's not to say it's totally correct. See modules/tomcat/src/java/o/a/g/t/TomcatLogManagerImpl lines 78-84 or so. This needs to be refactored a bit so if the user passes in a date range we can identify a group of log files (Joe filed a JIRA for this), but the basic identification of the log file we're looking for appears on line 83-84. To see if it's working, fire up the console, go to the server log tab, and see if there are any web access log hits in the bottom portlet. > tomcat web log seems to be created with wrong name and isn't found by the web log viewer portlet > ------------------------------------------------------------------------------------------------ > > Key: GERONIMO-1029 > URL: http://issues.apache.org/jira/browse/GERONIMO-1029 > Project: Geronimo > Type: Bug > Components: management, Tomcat > Versions: 1.0-M5 > Environment: all > Reporter: Joe Bohn > Assignee: Jeff Genender > > It seems that the log file for the tomcat web container is being created with an invalid date in the name. > ex. ...geronimo\modules\assembly\target\geronimo-1.0-SNAPSHOT\var\catalina\logs\0.0.0.0_access_log.2005-09-28.txt > Possibly related (or possibly not) is that the management API cannot find matches when performing a search. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira