From owner-freebsd-questions@FreeBSD.ORG Wed Jun 15 20:11:34 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFEC616A41C for ; Wed, 15 Jun 2005 20:11:34 +0000 (GMT) (envelope-from jeff.wirth@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id A867D43D5C for ; Wed, 15 Jun 2005 20:11:34 +0000 (GMT) (envelope-from jeff.wirth@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so18082rne for ; Wed, 15 Jun 2005 13:11:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z47Tr/9LCycD4ELQpgYrC2+fFn/F9ZTOSaPBhOLdMqlTu/gMjLW9iucHfom8tT2x86yFFepdcCB4w0H/DDY22aOiYrCHrsG/K+1QvDEBfJh073QTw1Do9sm8T+0IeouvNB88SitatxJbwchyCyQFqB0UokBkfSzDbcHS0OWor1M= Received: by 10.39.3.25 with SMTP id f25mr75362rni; Wed, 15 Jun 2005 13:11:34 -0700 (PDT) Received: by 10.38.181.64 with HTTP; Wed, 15 Jun 2005 13:11:34 -0700 (PDT) Message-ID: <5d2cf6920506151311e8b4597@mail.gmail.com> Date: Wed, 15 Jun 2005 16:11:34 -0400 From: Jeff Wirth To: Brian McCann In-Reply-To: <2b5f066d050615081856243a9d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2b5f066d050615081856243a9d@mail.gmail.com> Cc: freebsd-questions Subject: Re: Apache logging? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeff Wirth List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 20:11:35 -0000 > Anyone here know how to get Apache to log in GMT when the system clock > is in local time? I can't imagine this being "impossible"...but I you didn't mention what version of apache... 1.3.* -> http://httpd.apache.org/docs/logs.html#accesslog [10/Oct/2000:13:55:36 -0700] (%t) The time that the server finished processing the request. The format is= : [day/month/year:hour:minute:second zone] day =3D 2*digit month =3D 3*letter year =3D 4*digit hour =3D 2*digit minute =3D 2*digit second =3D 2*digit zone =3D (`+' | `-') 4*digit=20 It is possible to have the time displayed in another format by specifying %{format}t in the log format string, where format is as in strftime(3) from the C standard library. -jeff