Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 23358 invoked from network); 13 May 2005 13:27:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 May 2005 13:27:18 -0000 Received: (qmail 80524 invoked by uid 500); 13 May 2005 13:31:09 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 80512 invoked by uid 500); 13 May 2005 13:31:09 -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 80497 invoked by uid 99); 13 May 2005 13:31:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp3.ensim.com (HELO pnew2kexch2.exch.ensim.com) (202.56.203.198) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 13 May 2005 06:31:09 -0700 Received: from jsingh.india.ensim.com ([10.70.16.1]) by pnew2kexch2.exch.ensim.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 13 May 2005 18:54:50 +0530 From: Jaspreet Singh Reply-To: jsingh@ensim.com To: users@httpd.apache.org In-Reply-To: <4284A958.6060805@webthing.com> References: <1115984190.10289.60.camel@jsingh> <42849F59.4070607@webthing.com> <1115989306.10289.75.camel@jsingh> <4284A958.6060805@webthing.com> Content-Type: text/plain Organization: Ensim Date: Fri, 13 May 2005 19:06:14 +0530 Message-Id: <1115991374.10289.80.camel@jsingh> Mime-Version: 1.0 X-Mailer: Evolution 2.2.0 (2.2.0-10) Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 May 2005 13:24:51.0007 (UTC) FILETIME=[245864F0:01C557BF] X-Virus-Checked: Checked Subject: Re: [users@httpd] Filtering/Interception Error log strings X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, thanx for the reply. On Fri, 2005-05-13 at 14:19 +0100, Nick Kew wrote: > Jaspreet Singh wrote: > > Not really - a google search would tell you more. There are modules > written for the purpose (mod_vhost_alias or third-party alternatives), > or there's a solution described on the mod_rewrite pages. > can't use them as i have custom configuration for each virthost container. > Good point. Adding the host to normal error logging would seem to be > the simple solution. I'm not sure if there's a simpler solution. > But, How do i append virt_host/server name ???? > > > > > > If, i am not mistaken .. "__after__" means that the msg is already > > logged to error_log and them passed to hook. Thats ok with me, as i can > > get the server name from "request" structure and log the same msg again > > to syslog appending server name. > > Yes, probably. But logging twice doesn't seem very efficient to me. > If somehow i can intercept the error logs .. only then can i log them (again) with virt_host/server name appended. I couldn't find this hook in apache headers/code. any clues ??? thanx, jaspreet singh --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org