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...
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100204/f3d5ca02/attachment-0001.htm
------------------------------
Message: 2
Date: Thu, 4 Feb 2010 17:00:39 -0800
From: Brian Donaldson <briantd@gmail.com>
Subject: [syslog-ng] Apache + syslog-ng w/o logger?
To: syslog-ng@lists.balabit.hu
Message-ID:
<9f5bff671002041700l5b1d5153kd315cc428ed58ab0@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
My goal is to enable Apache to log large access_log entries (> 1024 chars)
to a syslog-ng server. The vast majority of examples I've seen for
connecting Apache to syslog-ng employ the ancient /usr/bin/logger -- but
that approach chops up messages longer than 1024 chars. The alternative
approach is to use a perl/python script, but I'm nervous about the overhead.
Anyone know of an updated logger binary?
Thanks for any pointers,
-Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100204/20dc3677/attachment-0001.htm
------------------------------
Message: 3
Date: Thu, 4 Feb 2010 20:23:43 -0500
From: "Jim Hendrick" <jrhendri@maine.rr.com>
Subject: Re: [syslog-ng] Apache + syslog-ng w/o logger?
To: "'Syslog-ng users' and developers' mailing list'"
<syslog-ng@lists.balabit.hu>
Message-ID: <FB.84.23327.E137B6B4@hrndva-omtalb.mail.rr.com>
Content-Type: text/plain; charset="us-ascii"
Would using syslog-ng directly work? (pointing it at the access_log file)
Jim
-----Original Message-----
From: syslog-ng-bounces@lists.balabit.hu
[mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Brian Donaldson
Sent: Thursday, February 04, 2010 8:01 PM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng] Apache + syslog-ng w/o logger?
My goal is to enable Apache to log large access_log entries (> 1024 chars)
to a syslog-ng server. The vast majority of examples I've seen for
connecting Apache to syslog-ng employ the ancient /usr/bin/logger -- but
that approach chops up messages longer than 1024 chars. The alternative
approach is to use a perl/python script, but I'm nervous about the overhead.
Anyone know of an updated logger binary?
Thanks for any pointers,
-Brian
------------------------------
Message: 4
Date: Thu, 4 Feb 2010 17:28:03 -0800
From: Lance Laursen <lance@demonware.net>
Subject: Re: [syslog-ng] Apache + syslog-ng w/o logger?
To: "Syslog-ng users' and developers' mailing list"
<syslog-ng@lists.balabit.hu>
Message-ID:
<ffa53b891002041728nd8cc926x952b170ac8a9bf23@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hello,
After changing the log_msg_size(65536); parameter in syslog-ng.conf's
options {}; section, I've used logger to send a single message with a 64KB
payload. Have you tried using logger yet to see if it does what you need?
I've just tested this on ubuntu 8.04, the logger binary being part of the
default installed bsdutils package 1:2.14.2-1ubuntu4. Keep in mind regular
syslogd has a 1024KB limit and all messages passed through it first will get
chopped.
You can also do what Jim suggests and use a "file" sourcetype on your
access_log and go from there.
-Lance
On Thu, Feb 4, 2010 at 5:00 PM, Brian Donaldson <briantd@gmail.com> wrote:
> My goal is to enable Apache to log large access_log entries (> 1024 chars)
> to a syslog-ng server. The vast majority of examples I've seen for
> connecting Apache to syslog-ng employ the ancient /usr/bin/logger -- but
> that approach chops up messages longer than 1024 chars. The alternative
> approach is to use a perl/python script, but I'm nervous about the overhead.
> Anyone know of an updated logger binary?
>
> Thanks for any pointers,
> -Brian
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100204/aa1c1901/attachment-0001.htm
------------------------------
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
End of syslog-ng Digest, Vol 58, Issue 5
****************************************