Re: [syslog-ng] Apache + syslog-ng w/o logger?
Thanks for the suggestions Jim & Lance. I'm running CentOS 5 using the default logger. I did try what Lance suggested: restarting syslog-ng w/ log_msg_size set to 65K in the options section (both the client and server). However, echo'ing a 8192 character string to logger resulted in several fragments. Guess it's on to Jim's suggestion... On Fri, Feb 5, 2010 at 3:00 AM, <syslog-ng-request@lists.balabit.hu> wrote:
Send syslog-ng mailing list submissions to syslog-ng@lists.balabit.hu
To subscribe or unsubscribe via the World Wide Web, visit https://lists.balabit.hu/mailman/listinfo/syslog-ng or, via email, send a message with subject or body 'help' to syslog-ng-request@lists.balabit.hu
You can reach the person managing the list at syslog-ng-owner@lists.balabit.hu
When replying, please edit your Subject line so it is more specific than "Re: Contents of syslog-ng digest..."
Today's Topics:
1. Re: config file question (Rory Toma) 2. Apache + syslog-ng w/o logger? (Brian Donaldson) 3. Re: Apache + syslog-ng w/o logger? (Jim Hendrick) 4. Re: Apache + syslog-ng w/o logger? (Lance Laursen)
----------------------------------------------------------------------
Message: 1 Date: Thu, 04 Feb 2010 16:52:52 -0800 From: Rory Toma <rory@ooma.com> Subject: Re: [syslog-ng] config file question To: Zolt?n Pallagi <pzolee@balabit.hu> Cc: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Message-ID: <4B6B6BE4.30109@ooma.com> Content-Type: text/plain; charset="iso-8859-1"
On 2/2/10 4:49 AM, Zolt?n Pallagi wrote:
Hi Rory,
Will you tell me the current naming of your log files? I don't know the real reason for many log files, but as Robert said, perhaps, there are another easier solutions to avoid it.
We maintain one log file per client per day, in directory buckets of 2000 clients.
Hi, why not configure apache to send its logs directly to syslog? for example: http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html On Fri, 2010-02-05 at 14:30 -0800, Brian Donaldson wrote:
Thanks for the suggestions Jim & Lance. I'm running CentOS 5 using the default logger. I did try what Lance suggested: restarting syslog-ng w/ log_msg_size set to 65K in the options section (both the client and server). However, echo'ing a 8192 character string to logger resulted in several fragments. Guess it's on to Jim's suggestion...
On Fri, Feb 5, 2010 at 3:00 AM, <syslog-ng-request@lists.balabit.hu> wrote: Send syslog-ng mailing list submissions to syslog-ng@lists.balabit.hu
To subscribe or unsubscribe via the World Wide Web, visit https://lists.balabit.hu/mailman/listinfo/syslog-ng or, via email, send a message with subject or body 'help' to syslog-ng-request@lists.balabit.hu
You can reach the person managing the list at syslog-ng-owner@lists.balabit.hu
When replying, please edit your Subject line so it is more specific than "Re: Contents of syslog-ng digest..."
Today's Topics:
1. Re: config file question (Rory Toma) 2. Apache + syslog-ng w/o logger? (Brian Donaldson) 3. Re: Apache + syslog-ng w/o logger? (Jim Hendrick) 4. Re: Apache + syslog-ng w/o logger? (Lance Laursen)
----------------------------------------------------------------------
Message: 1 Date: Thu, 04 Feb 2010 16:52:52 -0800 From: Rory Toma <rory@ooma.com> Subject: Re: [syslog-ng] config file question To: Zolt?n Pallagi <pzolee@balabit.hu> Cc: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Message-ID: <4B6B6BE4.30109@ooma.com> Content-Type: text/plain; charset="iso-8859-1"
On 2/2/10 4:49 AM, Zolt?n Pallagi wrote: > Hi Rory, > > Will you tell me the current naming of your log files? I don't know > the real reason for many log files, but as Robert said, perhaps, there > are another easier solutions to avoid it. > We maintain one log file per client per day, in directory buckets of 2000 clients.
participants (2)
-
Balazs Scheidler
-
Brian Donaldson