Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 78184 invoked from network); 9 Mar 2009 21:08:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2009 21:08:47 -0000 Received: (qmail 46539 invoked by uid 500); 9 Mar 2009 21:08:37 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 46364 invoked by uid 500); 9 Mar 2009 21:08:36 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 46355 invoked by uid 99); 9 Mar 2009 21:08:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 14:08:36 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jmedina@e-dialog.com designates 64.28.75.202 as permitted sender) Received: from [64.28.75.202] (HELO corp-mail.e-dialog.com) (64.28.75.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 21:08:30 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9A0FB.257486CE" Date: Mon, 9 Mar 2009 17:08:07 -0400 Message-ID: <9DD36C99332AB7438F8D73C048D8C62C02289B5A@sneezy.ad.e-dialog.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ErrorLog timestamp format Thread-Index: Acmg+yVDyPp5plORTn+3iiop7Rs+kA== From: "Jorge Medina" To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] ErrorLog timestamp format ------_=_NextPart_001_01C9A0FB.257486CE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am using Apache 2.2.11 =20 Is it possible to modify the ErrorLog timestamp format ? =20 Currently, I get something like this: [Mon Mar 09 16:53:18 2009]=20 =20 I would like to get the timestamp following ISO8601 format, something like yyyy-mm-ddTHH:MM:SS =20 [2009-03-18T16:53:18-0400] =20 I can get the access log in that format specifying the following directive: =20 LogFormat "%{%FT%T%z}t ..." =20 but so far I am unable to change the error log timestamp format. =20 -Jorge ------_=_NextPart_001_01C9A0FB.257486CE Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I am = using Apache=20 2.2.11
 
Is it = possible to=20 modify the ErrorLog timestamp format ?
 
Currently, I get=20 something like this:
  = [Mon Mar 09=20 16:53:18 2009]
 
I = would like to=20 get the timestamp following  ISO8601 format, something = like=20  yyyy-mm-ddTHH:MM:SS<timezone>
 
  [2009-03-18T16:53:18-0400]
 
I can = get the access=20 log in that format specifying the following = directive:
 
  = LogFormat  "%{%FT%T%z}t ..."
 
but so = far I am=20 unable to change the error log timestamp format.
 
-Jorge
------_=_NextPart_001_01C9A0FB.257486CE--