<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Is it possible to correct save all logs ? Of course all messages in<br>
examle is one log message. Log4j save it like this:<br>
2010-06-18 10:53:03,242 [PROGRAM NAME-MainThread-MainThread] ERROR -<br>
FATAL ERROR<br>
java.lang.Exception: Invalid value TryCount: 0<br>
        at com.td.Sender.initialize(Sender.java:30)<br>
        at com.td.Main.main(Main.java:123)<br>
<br>
I want to obtain same effect in syslog-ng.<br>
Have you any suggestion ? Please help.<br> </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Regards<br>
Frank<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>Hi Frank,</div><div><br></div><div>I have had success matching and logging multi-line logs (specifically lighttpd) by using unix-dgram(&quot;/dev/log&quot;) in my main local source rather than unix-stream(&quot;/dev/log&quot;). This unfortunately assumes you are logging to a local syslog-ng client. If you are logging straight from your java app to a (network) syslog-ng server via UDP or TCP, sorry it looks like you&#39;ll have to wait for PE 3.2</div>
<div><br></div></div><br>-- <br>Lance Laursen<br>Demonware Systems Engineer<br>