this is a neat little gimmick I thought I'd share..

----------  Forwarded Message  ----------

Subject: Re: [logs] Apache Logs
Date: Mon, 28 Jan 2002 12:13:43 -0800
From: "Bill Burge" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Actually I use (something like):

TransferLog "| /usr/bin/logger -p local7.info "

And the format that gets used is the most recent (to that line) "LogFormat"
 as TransferLog doesn't take a format parameter.

Bill Burge


*********** REPLY SEPARATOR  ***********

On 1/28/2002 at 8:01 PM George Lewis wrote:
>Roy ([EMAIL PROTECTED]) wrote:
>> Is there an easy way to get Apache to log to syslogd of the local server
>> (so it will go to the central logserver) or a way to log to the central
>> server directly.
>>
>> speak slowly please.. it's Monday :-)
>
>Roy,
>
>You should be able to do something like this within your httpd.conf:
>
>       CustomLog "| /usr/bin/logger -t 'httpd' " combined
>
>George
>
>--
>http://schvin.net/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-------------------------------------------------------

-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://linux.nf

I like you. You remind me of when I was young and stupid.
_______________________________________________
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to