<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">Dear Satish, multiline is supported in open source version of syslog-ng, as bazsi wrote.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>

</span></div><div><font face="arial, sans-serif">To glue the lines together, into one line you can do one of two things.  First, configure syslog-ng not to break messages into separate lines, by disabling native multiline support.  Second, define a pattern that identifies the beginning of a new line. </font></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I encourage you to read the manual prior to engaging entire list to solve your issue, which is clearly not an issue with the way code is written.</font></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thanks.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Y.</font></div><div><font face="arial, sans-serif"><br>

</font></div><div><font face="arial, sans-serif"><br></font></div><span style="font-family:arial,sans-serif;font-size:13px"><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>

</span></div>This is my source declaration and i have put flags which you have</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">mentioned.</span><br style="font-family:arial,sans-serif;font-size:13px">

<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">source s_tomcat {</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">        syslog( transport(&quot;udp&quot;) flags(indent-multi-line));</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">};</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I got following error when i am trying to put flags</span><br style="font-family:arial,sans-serif;font-size:13px">

<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Error parsing afsocket, Unknown flag indent-multi-line in</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">/usr/local/syslog-ng-3.4.2/</span><span style="font-family:arial,sans-serif;font-size:13px">etc/syslog-ng.conf at line 54, column 33:</span><br style="font-family:arial,sans-serif;font-size:13px">

<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">        syslog( transport(&quot;udp&quot;) flags(indent-multi-line) );</span><br></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 10:22 AM,  <span dir="ltr">&lt;<a href="mailto:syslog-ng-request@lists.balabit.hu" target="_blank">syslog-ng-request@lists.balabit.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Send syslog-ng mailing list submissions to<br>
        <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:syslog-ng-request@lists.balabit.hu">syslog-ng-request@lists.balabit.hu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:syslog-ng-owner@lists.balabit.hu">syslog-ng-owner@lists.balabit.hu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of syslog-ng digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re:  Multi-line support issue (Balazs Scheidler)<br>
   2. Re:  Multi-line support issue (Satish Patel)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 11 Jul 2013 13:53:56 +0200<br>
From: Balazs Scheidler &lt;<a href="mailto:bazsi@balabit.hu">bazsi@balabit.hu</a>&gt;<br>
Subject: Re: [syslog-ng] Multi-line support issue<br>
To: Syslog-ng users&#39; and developers&#39; mailing list<br>
        &lt;<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>&gt;<br>
Message-ID: &lt;1373543636.3171.17.camel@bzorp&gt;<br>
Content-Type: text/plain; charset=&quot;UTF-8&quot;<br>
<br>
<br>
I can&#39;t see the source declaration, it must be something along the lines<br>
of:<br>
<br>
source s_tomcat {<br>
    file(&quot;/var/log/tomcat/xxx.log&quot; flags(indent-multi-line));<br>
};<br>
<br>
On Wed, 2013-07-10 at 12:54 -0400, Satish Patel wrote:<br>
&gt; Hi Balazs,<br>
&gt;<br>
&gt;<br>
&gt; what is your thought about my config? did you see?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Jul 8, 2013 at 12:30 PM, Satish Patel &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;         This is what i have configured and no luck with it.. can you<br>
&gt;         suggest what i am missing?<br>
&gt;<br>
&gt;         destination d02_tc74_log<br>
&gt;         { file(&quot;/logs/server1/tomcat7.4/catalina_$YEAR$MONTH$DAY.log&quot;<br>
&gt;         template(&quot;$(indent-multi-line ${MESSAGE})\n&quot;)<br>
&gt;         template(t_tomcatlog) owner(&quot;root&quot;) group(&quot;root&quot;) perm(0644)<br>
&gt;         dir_perm(0755) create_dirs(yes)); };<br>
&gt;         filter server1 { host(&quot;<a href="http://server1.example.com" target="_blank">server1.example.com</a>&quot;) };<br>
&gt;         log {<br>
&gt;           source (s_tomcat);<br>
&gt;           filter (server1);<br>
&gt;           filter (tomcat7_4);<br>
&gt;           destination (d02_tc74_log);<br>
&gt;         };<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         On Mon, Jul 8, 2013 at 12:08 PM, Satish Patel<br>
&gt;         &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt; wrote:<br>
&gt;                 How do i use indented-multi-line ? I meant where do i<br>
&gt;                 configure it? I tried but my syslog-ng doesn&#39;t<br>
&gt;                 recognizing this option i have syslog-ng 3.3.7  could<br>
&gt;                 you give me example where and how do i check whether<br>
&gt;                 it is supported or not<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                 On Sat, Jul 6, 2013 at 2:12 AM, Balazs Scheidler<br>
&gt;                 &lt;<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a>&gt; wrote:<br>
&gt;                         This looks.like the format that should be<br>
&gt;                         supported by indented-multi-line<br>
&gt;<br>
&gt;                         On Jul 5, 2013 9:33 PM, &quot;Satish Patel&quot;<br>
&gt;                         &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt; wrote:<br>
&gt;                                 Here is my tomcat catalina.out log<br>
&gt;                                 file sample. See there is a tab space<br>
&gt;                                 in logs<br>
&gt;<br>
&gt;                                 2013-06-27 05:30:00,065<br>
&gt;                                 [EDISN-Scheduler_Worker-2] ERROR<br>
&gt;                                 com.example.edisn.sftp.SftpSession -<br>
&gt;                                 Exception attempting to work with an<br>
&gt;                                 SFTP Session: connection is closed by<br>
&gt;                                 foreign host<br>
&gt;                                 2013-06-27 05:30:00,066<br>
&gt;                                 [EDISN-Scheduler_Worker-2] ERROR<br>
&gt;                                 org.quartz.core.JobRunShell - Job<br>
&gt;                                 EDISN.CTMS_Upload threw an unhandled<br>
&gt;                                 Exception:<br>
&gt;                                 com.example.edisn.EdisnRuntimeException: Exception attempting to work with an SFTP Session: connection is closed by foreign host<br>
&gt;                                         at<br>
&gt;                                 com.example.edisn.sftp.SftpSession.doSession(SftpSession.java:64)<br>
&gt;                                         at<br>
&gt;                                 com.example.edisn.EdisnSession.exec(EdisnSession.java:13)<br>
&gt;                                         at<br>
&gt;                                 com.example.ctms.CtmsScheduledJob.executeInternal(CtmsScheduledJob.java:27)<br>
&gt;                                         at<br>
&gt;                                 org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)<br>
&gt;                                         at<br>
&gt;                                 org.quartz.core.JobRunShell.run(JobRunShell.java:202)<br>
&gt;                                         at<br>
&gt;                                 org.quartz.simpl.SimpleThreadPool<br>
&gt;                                 $WorkerThread.run(SimpleThreadPool.java:525)<br>
&gt;                                 Caused by:<br>
&gt;                                 com.jcraft.jsch.JSchException:<br>
&gt;                                 connection is closed by foreign host<br>
&gt;                                         at<br>
&gt;                                 com.jcraft.jsch.Session.connect(Unknown Source)<br>
&gt;                                         at<br>
&gt;                                 com.jcraft.jsch.Session.connect(Unknown Source)<br>
&gt;                                         at<br>
&gt;                                 com.example.edisn.sftp.SftpSession.doSession(SftpSession.java:45)<br>
&gt;                                         ... 5 more<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                                 On Fri, Jul 5, 2013 at 3:27 PM, Balazs<br>
&gt;                                 Scheidler &lt;<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a>&gt; wrote:<br>
&gt;                                         No, I implemented a different<br>
&gt;                                         multiline style support first<br>
&gt;                                         (that is not in pe), where<br>
&gt;                                         continuation lines are<br>
&gt;                                         indicated by indentation, like<br>
&gt;                                         mime.<br>
&gt;<br>
&gt;                                         Iirc tomcat has this kind of<br>
&gt;                                         log file. Can you show a<br>
&gt;                                         sample log entry?<br>
&gt;<br>
&gt;                                         The infrastructure for<br>
&gt;                                         multiline-prefix is also there<br>
&gt;                                         but not added yet.<br>
&gt;<br>
&gt;                                         Let me see the sample, I&#39;ll<br>
&gt;                                         tell if the current solution<br>
&gt;                                         works or not.<br>
&gt;<br>
&gt;                                         On Jul 5, 2013 8:24 PM,<br>
&gt;                                         &quot;Satish Patel&quot;<br>
&gt;                                         &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt; wrote:<br>
&gt;                                                 Thanks for reply<br>
&gt;                                                 Balazs,<br>
&gt;<br>
&gt;<br>
&gt;                                                 You mean say this<br>
&gt;                                                 feature is available<br>
&gt;                                                 in Open Source Edition<br>
&gt;                                                 (OSE) 3.4? Once after<br>
&gt;                                                 specifying flag<br>
&gt;                                                 &quot;indented-multi-line&quot;<br>
&gt;                                                 i can use<br>
&gt;                                                 multi-line-prefix?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                                                 On Fri, Jul 5, 2013 at<br>
&gt;                                                 1:26 PM, Balazs<br>
&gt;                                                 Scheidler<br>
&gt;                                                 &lt;<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a>&gt;<br>
&gt;                                                 wrote:<br>
&gt;                                                         You have found<br>
&gt;                                                         the PE<br>
&gt;                                                         documentation<br>
&gt;                                                         but I have<br>
&gt;                                                         already ported<br>
&gt;                                                         this to the<br>
&gt;                                                         OSE tree and<br>
&gt;                                                         has been<br>
&gt;                                                         released as<br>
&gt;                                                         part of 3.4.<br>
&gt;<br>
&gt;                                                         You have to<br>
&gt;                                                         specify<br>
&gt;                                                         indented-multi-line as a flag to the file source.<br>
&gt;<br>
&gt;                                                         On Jul 5, 2013<br>
&gt;                                                         6:28 PM,<br>
&gt;                                                         &quot;Satish Patel&quot;<br>
&gt;                                                         &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;                                                                 We<br>
&gt;                                                                 have<br>
&gt;                                                                 tomcat<br>
&gt;                                                                 shop<br>
&gt;                                                                 and at<br>
&gt;                                                                 everyone know tomcat has a java call trace in logs with tab space but syslog-ng doesn&#39;t know about it and printing lines as a new line. I have read here syslog-ng 3.x does support multi-line logs <a href="http://www.balabit.com/sites/default/files/documents/syslog-ng-pe-4.0-guides/en/syslog-ng-pe-v4.0-guide-admin-en/html/reference_source_syslog.html" target="_blank">http://www.balabit.com/sites/default/files/documents/syslog-ng-pe-4.0-guides/en/syslog-ng-pe-v4.0-guide-admin-en/html/reference_source_syslog.html</a><br>


&gt;<br>
&gt;<br>
&gt;                                                                 But<br>
&gt;                                                                 does<br>
&gt;                                                                 this<br>
&gt;                                                                 feature available in Open Source syslog-ng? If yes then why its not working for me?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                                                                 ______________________________________________________________________________<br>
&gt;                                                                 Member<br>
&gt;                                                                 info:<br>
&gt;                                                                 <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt;                                                                 Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>


&gt;                                                                 FAQ:<br>
&gt;                                                                 <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                                                         ______________________________________________________________________________<br>
&gt;                                                         Member info:<br>
&gt;                                                         <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt;                                                         Documentation:<br>
&gt;                                                         <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>


&gt;                                                         FAQ:<br>
&gt;                                                         <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                                                 ______________________________________________________________________________<br>
&gt;                                                 Member info:<br>
&gt;                                                 <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt;                                                 Documentation:<br>
&gt;                                                 <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt;                                                 FAQ:<br>
&gt;                                                 <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                                         ______________________________________________________________________________<br>
&gt;                                         Member info:<br>
&gt;                                         <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt;                                         Documentation:<br>
&gt;                                         <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt;                                         FAQ:<br>
&gt;                                         <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                                 ______________________________________________________________________________<br>
&gt;                                 Member info:<br>
&gt;                                 <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt;                                 Documentation:<br>
&gt;                                 <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt;                                 FAQ:<br>
&gt;                                 <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                         ______________________________________________________________________________<br>
&gt;                         Member info:<br>
&gt;                         <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt;                         Documentation:<br>
&gt;                         <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt;                         FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 11 Jul 2013 10:22:45 -0400<br>
From: Satish Patel &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt;<br>
Subject: Re: [syslog-ng] Multi-line support issue<br>
To: &quot;Syslog-ng users&#39; and developers&#39; mailing list&quot;<br>
        &lt;<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>&gt;<br>
Message-ID:<br>
        &lt;CAPgF-fpPdRswwj2HNUXAxfgRekHVhwwF6O=<a href="mailto:7N39q9mfggN-nUQ@mail.gmail.com">7N39q9mfggN-nUQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
This is my source declaration and i have put flags which you have<br>
mentioned.<br>
<br>
source s_tomcat {<br>
        syslog( transport(&quot;udp&quot;) flags(indent-multi-line));<br>
};<br>
<br>
I got following error when i am trying to put flags<br>
<br>
Error parsing afsocket, Unknown flag indent-multi-line in<br>
/usr/local/syslog-ng-3.4.2/etc/syslog-ng.conf at line 54, column 33:<br>
<br>
        syslog( transport(&quot;udp&quot;) flags(indent-multi-line) );<br>
                                       ^^^^^^^^^^^^^^^^^<br>
<br>
<br>
<br>
<br>
On Thu, Jul 11, 2013 at 7:53 AM, Balazs Scheidler &lt;<a href="mailto:bazsi@balabit.hu">bazsi@balabit.hu</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; I can&#39;t see the source declaration, it must be something along the lines<br>
&gt; of:<br>
&gt;<br>
&gt; source s_tomcat {<br>
&gt;     file(&quot;/var/log/tomcat/xxx.log&quot; flags(indent-multi-line));<br>
&gt; };<br>
&gt;<br>
&gt; On Wed, 2013-07-10 at 12:54 -0400, Satish Patel wrote:<br>
&gt; &gt; Hi Balazs,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; what is your thought about my config? did you see?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Jul 8, 2013 at 12:30 PM, Satish Patel &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt;         This is what i have configured and no luck with it.. can you<br>
&gt; &gt;         suggest what i am missing?<br>
&gt; &gt;<br>
&gt; &gt;         destination d02_tc74_log<br>
&gt; &gt;         { file(&quot;/logs/server1/tomcat7.4/catalina_$YEAR$MONTH$DAY.log&quot;<br>
&gt; &gt;         template(&quot;$(indent-multi-line ${MESSAGE})\n&quot;)<br>
&gt; &gt;         template(t_tomcatlog) owner(&quot;root&quot;) group(&quot;root&quot;) perm(0644)<br>
&gt; &gt;         dir_perm(0755) create_dirs(yes)); };<br>
&gt; &gt;         filter server1 { host(&quot;<a href="http://server1.example.com" target="_blank">server1.example.com</a>&quot;) };<br>
&gt; &gt;         log {<br>
&gt; &gt;           source (s_tomcat);<br>
&gt; &gt;           filter (server1);<br>
&gt; &gt;           filter (tomcat7_4);<br>
&gt; &gt;           destination (d02_tc74_log);<br>
&gt; &gt;         };<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;         On Mon, Jul 8, 2013 at 12:08 PM, Satish Patel<br>
&gt; &gt;         &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt; wrote:<br>
&gt; &gt;                 How do i use indented-multi-line ? I meant where do i<br>
&gt; &gt;                 configure it? I tried but my syslog-ng doesn&#39;t<br>
&gt; &gt;                 recognizing this option i have syslog-ng 3.3.7  could<br>
&gt; &gt;                 you give me example where and how do i check whether<br>
&gt; &gt;                 it is supported or not<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;                 On Sat, Jul 6, 2013 at 2:12 AM, Balazs Scheidler<br>
&gt; &gt;                 &lt;<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a>&gt; wrote:<br>
&gt; &gt;                         This looks.like the format that should be<br>
&gt; &gt;                         supported by indented-multi-line<br>
&gt; &gt;<br>
&gt; &gt;                         On Jul 5, 2013 9:33 PM, &quot;Satish Patel&quot;<br>
&gt; &gt;                         &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt; wrote:<br>
&gt; &gt;                                 Here is my tomcat catalina.out log<br>
&gt; &gt;                                 file sample. See there is a tab space<br>
&gt; &gt;                                 in logs<br>
&gt; &gt;<br>
&gt; &gt;                                 2013-06-27 05:30:00,065<br>
&gt; &gt;                                 [EDISN-Scheduler_Worker-2] ERROR<br>
&gt; &gt;                                 com.example.edisn.sftp.SftpSession -<br>
&gt; &gt;                                 Exception attempting to work with an<br>
&gt; &gt;                                 SFTP Session: connection is closed by<br>
&gt; &gt;                                 foreign host<br>
&gt; &gt;                                 2013-06-27 05:30:00,066<br>
&gt; &gt;                                 [EDISN-Scheduler_Worker-2] ERROR<br>
&gt; &gt;                                 org.quartz.core.JobRunShell - Job<br>
&gt; &gt;                                 EDISN.CTMS_Upload threw an unhandled<br>
&gt; &gt;                                 Exception:<br>
&gt; &gt;                                 com.example.edisn.EdisnRuntimeException:<br>
&gt; Exception attempting to work with an SFTP Session: connection is closed by<br>
&gt; foreign host<br>
&gt; &gt;                                         at<br>
&gt; &gt;<br>
&gt; com.example.edisn.sftp.SftpSession.doSession(SftpSession.java:64)<br>
&gt; &gt;                                         at<br>
&gt; &gt;<br>
&gt; com.example.edisn.EdisnSession.exec(EdisnSession.java:13)<br>
&gt; &gt;                                         at<br>
&gt; &gt;<br>
&gt; com.example.ctms.CtmsScheduledJob.executeInternal(CtmsScheduledJob.java:27)<br>
&gt; &gt;                                         at<br>
&gt; &gt;<br>
&gt; org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)<br>
&gt; &gt;                                         at<br>
&gt; &gt;<br>
&gt; org.quartz.core.JobRunShell.run(JobRunShell.java:202)<br>
&gt; &gt;                                         at<br>
&gt; &gt;                                 org.quartz.simpl.SimpleThreadPool<br>
&gt; &gt;<br>
&gt; $WorkerThread.run(SimpleThreadPool.java:525)<br>
&gt; &gt;                                 Caused by:<br>
&gt; &gt;                                 com.jcraft.jsch.JSchException:<br>
&gt; &gt;                                 connection is closed by foreign host<br>
&gt; &gt;                                         at<br>
&gt; &gt;                                 com.jcraft.jsch.Session.connect(Unknown<br>
&gt; Source)<br>
&gt; &gt;                                         at<br>
&gt; &gt;                                 com.jcraft.jsch.Session.connect(Unknown<br>
&gt; Source)<br>
&gt; &gt;                                         at<br>
&gt; &gt;<br>
&gt; com.example.edisn.sftp.SftpSession.doSession(SftpSession.java:45)<br>
&gt; &gt;                                         ... 5 more<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;                                 On Fri, Jul 5, 2013 at 3:27 PM, Balazs<br>
&gt; &gt;                                 Scheidler &lt;<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a>&gt; wrote:<br>
&gt; &gt;                                         No, I implemented a different<br>
&gt; &gt;                                         multiline style support first<br>
&gt; &gt;                                         (that is not in pe), where<br>
&gt; &gt;                                         continuation lines are<br>
&gt; &gt;                                         indicated by indentation, like<br>
&gt; &gt;                                         mime.<br>
&gt; &gt;<br>
&gt; &gt;                                         Iirc tomcat has this kind of<br>
&gt; &gt;                                         log file. Can you show a<br>
&gt; &gt;                                         sample log entry?<br>
&gt; &gt;<br>
&gt; &gt;                                         The infrastructure for<br>
&gt; &gt;                                         multiline-prefix is also there<br>
&gt; &gt;                                         but not added yet.<br>
&gt; &gt;<br>
&gt; &gt;                                         Let me see the sample, I&#39;ll<br>
&gt; &gt;                                         tell if the current solution<br>
&gt; &gt;                                         works or not.<br>
&gt; &gt;<br>
&gt; &gt;                                         On Jul 5, 2013 8:24 PM,<br>
&gt; &gt;                                         &quot;Satish Patel&quot;<br>
&gt; &gt;                                         &lt;<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt; wrote:<br>
&gt; &gt;                                                 Thanks for reply<br>
&gt; &gt;                                                 Balazs,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;                                                 You mean say this<br>
&gt; &gt;                                                 feature is available<br>
&gt; &gt;                                                 in Open Source Edition<br>
&gt; &gt;                                                 (OSE) 3.4? Once after<br>
&gt; &gt;                                                 specifying flag<br>
&gt; &gt;                                                 &quot;indented-multi-line&quot;<br>
&gt; &gt;                                                 i can use<br>
&gt; &gt;                                                 multi-line-prefix?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;                                                 On Fri, Jul 5, 2013 at<br>
&gt; &gt;                                                 1:26 PM, Balazs<br>
&gt; &gt;                                                 Scheidler<br>
&gt; &gt;                                                 &lt;<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a>&gt;<br>
&gt; &gt;                                                 wrote:<br>
&gt; &gt;                                                         You have found<br>
&gt; &gt;                                                         the PE<br>
&gt; &gt;                                                         documentation<br>
&gt; &gt;                                                         but I have<br>
&gt; &gt;                                                         already ported<br>
&gt; &gt;                                                         this to the<br>
&gt; &gt;                                                         OSE tree and<br>
&gt; &gt;                                                         has been<br>
&gt; &gt;                                                         released as<br>
&gt; &gt;                                                         part of 3.4.<br>
&gt; &gt;<br>
&gt; &gt;                                                         You have to<br>
&gt; &gt;                                                         specify<br>
&gt; &gt;<br>
&gt; indented-multi-line as a flag to the file source.<br>
&gt; &gt;<br>
&gt; &gt;                                                         On Jul 5, 2013<br>
&gt; &gt;                                                         6:28 PM,<br>
&gt; &gt;                                                         &quot;Satish Patel&quot;<br>
&gt; &gt;                                                         &lt;<br>
&gt; <a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;                                                                 We<br>
&gt; &gt;                                                                 have<br>
&gt; &gt;                                                                 tomcat<br>
&gt; &gt;                                                                 shop<br>
&gt; &gt;                                                                 and at<br>
&gt; &gt;                                                                 everyone<br>
&gt; know tomcat has a java call trace in logs with tab space but syslog-ng<br>
&gt; doesn&#39;t know about it and printing lines as a new line. I have read here<br>
&gt; syslog-ng 3.x does support multi-line logs<br>
&gt; <a href="http://www.balabit.com/sites/default/files/documents/syslog-ng-pe-4.0-guides/en/syslog-ng-pe-v4.0-guide-admin-en/html/reference_source_syslog.html" target="_blank">http://www.balabit.com/sites/default/files/documents/syslog-ng-pe-4.0-guides/en/syslog-ng-pe-v4.0-guide-admin-en/html/reference_source_syslog.html</a><br>


&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;                                                                 But<br>
&gt; &gt;                                                                 does<br>
&gt; &gt;                                                                 this<br>
&gt; &gt;                                                                 feature<br>
&gt; available in Open Source syslog-ng? If yes then why its not working for me?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; &gt;                                                                 Member<br>
&gt; &gt;                                                                 info:<br>
&gt; &gt;<br>
&gt; <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; &gt;<br>
&gt; Documentation:<br>
&gt; <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; &gt;                                                                 FAQ:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; &gt;                                                         Member info:<br>
&gt; &gt;<br>
&gt; <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; &gt;                                                         Documentation:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; &gt;                                                         FAQ:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; &gt;                                                 Member info:<br>
&gt; &gt;<br>
&gt; <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; &gt;                                                 Documentation:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; &gt;                                                 FAQ:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; &gt;                                         Member info:<br>
&gt; &gt;<br>
&gt; <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; &gt;                                         Documentation:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; &gt;                                         FAQ:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; &gt;                                 Member info:<br>
&gt; &gt;<br>
&gt; <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; &gt;                                 Documentation:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; &gt;                                 FAQ:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; &gt;                         Member info:<br>
&gt; &gt;<br>
&gt; <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; &gt;                         Documentation:<br>
&gt; &gt;<br>
&gt; <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; &gt;                         FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; &gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; &gt; Documentation:<br>
&gt; <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; &gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; Documentation:<br>
&gt; <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130711/9bdf663a/attachment.htm" target="_blank">http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130711/9bdf663a/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
syslog-ng maillist  -  <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br>
<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
<br>
<br>
End of syslog-ng Digest, Vol 99, Issue 9<br>
****************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Yarick Tsagoyko</div><div><a href="mailto:yarick@yarick.com" target="_blank">yarick@yarick.com</a></div><div>+1 443 255 2388</div><div><br></div>Advisory Notice: Email is covered by the Electronic Communications Privacy Act and is legally privileged, but inherently insecure. Content may be subject to alteration: email addresses may incorrectly identify the sender. This email transmission, and any documents, files, or previous email messages attached to it may be privileged and confidential, and are intended only for the use of the recipient(s) named in the address field. If the reader of this message is not an intended recipient, or the employee or agent responsible to deliver it to the recipient, you are hereby notified that any dissemination, distribution, or copying of this message or its contents is strictly prohibited. If you have received this message in error, please notify me by telephone or return email and delete it and any attachments from your computer. <br>


</div>