Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 69608 invoked by uid 500); 23 Apr 2001 20:53:41 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 69444 invoked from network); 23 Apr 2001 20:53:36 -0000 Message-ID: <012801c0cc37$990fc8f0$3200a8c0@jeffnt> From: "Jeff Kilbride" To: Subject: Logger.java -- TC 3.2.1/3.2.2b3 Date: Mon, 23 Apr 2001 13:54:32 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0125_01C0CBFC.EC7E6F40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0125_01C0CBFC.EC7E6F40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I noticed when looking through my log files that the default timestamp = format for logging is based on a 12-hour clock, as opposed to a 24-hour = clock. I would meekly suggest changing this by changing Line 416 of = Logger.java in TC 3.2.1/3.2.2b3 from: protected String timestampFormat =3D "yyyy-MM-dd hh:mm:ss";=20 to: protected String timestampFormat =3D "yyyy-MM-dd HH:mm:ss"; I know it's configurable in the server.xml file, but I thought it would = be nice to change the default. The other option would be to add the = AM/PM designator to the current format: protected String timestampFormat =3D "yyyy-MM-dd hh:mm:ss a"; Thanks, --jeff ------=_NextPart_000_0125_01C0CBFC.EC7E6F40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I noticed when looking through my log = files that=20 the default timestamp format for logging is based on a 12-hour clock, as = opposed=20 to a 24-hour clock. I would meekly suggest changing this by changing = Line 416 of=20 Logger.java in TC 3.2.1/3.2.2b3 from:
 
protected String timestampFormat =3D = "yyyy-MM-dd=20 hh:mm:ss"; 
 
to:
 
protected String timestampFormat =3D = "yyyy-MM-dd=20 HH:mm:ss";
 
I know it's configurable in the = server.xml file,=20 but I thought it would be nice to change the default. The other option = would be=20 to add the AM/PM designator to the current format:
 
protected String timestampFormat =3D = "yyyy-MM-dd=20 hh:mm:ss a";
 
Thanks,
--jeff
 
------=_NextPart_000_0125_01C0CBFC.EC7E6F40--