On Fri, Jun 4, 2010 at 3:41 AM, Balazs Scheidler <bazsi@balabit.hu> wrote:
On Wed, 2010-06-02 at 17:09 +0200, Dragan Zubac wrote:
> Hello
>
> I'm using syslog-ng to log messages into PostgreSQL via file logging.
> I have a problem,because syslog-ng actually sends two messages from log
> file,instead one at a time.
> In attachment,You may see two messages that has the same ID number and
> were sent together,as 'one' message into database procedure.
> Is it possible to configure syslog-ng to send one message at a time only ?

I don't really understand your question. The messages you have marked in
your original email use the same PID, but pids are in no way unique.

Perhaps postfix is sending a log message to syslog with a newline character in it - so syslog is printing it as two separate log lines in the file, but sending to postgres as one message? I don't understand the question either if this is not the case.



--
Bazsi

______________________________________________________________________________
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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________



--
Lance Laursen
Demonware Systems Engineer