<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi, <br>
      <br>
      <span tabindex="-1" id="result_box" class="short_text" lang="en"><span
          class="hps">Another</span> <span class="hps">information, if
          i add to source an unix-stream:</span></span>
      <title>Konsole output</title>
      <div>
        <span style="font-family:monospace"><br>
        </span><br>
        <title>Konsole output</title>
        <div>
          <span style="font-family:monospace"><span
              style="color:#000000;background-color:#ffffff;">source
              mailet_log {
            </span><br>
                   file("</span><span style="font-family:monospace"><span
              style="font-family:monospace"><span
                style="color:#b21818;background-color:#ffffff">/opt/myApp/mylog.log</span></span>"
            log_msg_size(11819200));
            <br>
                   unix-stream("/tmp/log" log_msg_size(11819200));
            <br>
            };<br>
            <br>
          </span></div>
        <meta http-equiv="Content-Type" content="text/html;
          charset=windows-1252">
      </div>
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      and i send 300000 char to unix socket, it works:<br>
      <title>Konsole output</title>
      <div>
        <span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">#!/usr/bin/perl
          </span><br>
          <br>
          use strict;
          <br>
          use Socket;
          <br>
          use IO::Handle;
          <br>
          <br>
          socket(TSOCK, PF_UNIX, SOCK_STREAM,0);
          <br>
          connect(TSOCK, sockaddr_un("/tmp/log")) or print("ERROR!");
          <br>
          <br>
          my @chars = ("A".."Z", "a".."z");
          <br>
          my $string;
          <br>
          $string .= $chars[rand @chars] for 1..300000;
          <br>
          <br>
          print TSOCK "$string\n";<br>
          <br>
        </span></div>
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <br>
      The <span tabindex="-1" id="result_box" class="short_text"
        lang="en"><span class="hps"> problem seems to</span> <span
          class="hps">be</span> <span class="hps">only</span> <span
          class="hps">with</span> <span class="hps">file</span> <span
          class="hps atn">(</span><span>) source.<br>
          <br>
          <br>
        </span></span><br>
      <br>
      Il 14/08/2015 11:24, Giovanni Mancuso ha scritto:<br>
    </div>
    <blockquote cite="mid:55CDB3C0.7090802@par-tec.it" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hi, <br>
        <br>
        I raised the  log_msg_size parameter <span tabindex="-1"
          id="result_box" class="short_text" lang="en"><span class="hps">to

            a</span> <span class="hps">very high value, but i have the
            same problem.<br>
            <br>
          </span></span><br>
        Il 13/08/2015 21:57, Scheidler, Balázs ha scritto:<br>
      </div>
      <blockquote
cite="mid:CANWQT2Mg-X83wUZYU_W9zL77ER7=Ug3QuuAEi9iWSop5026q4g@mail.gmail.com"
        type="cite">
        <p dir="ltr">Utf8 encoding may mean that a given amount of
          characters are encoded using more bytes.</p>
        <p dir="ltr">Log-msg-size specifies the limit in bytes.</p>
        <div class="gmail_quote">On Aug 13, 2015 12:05 PM, "Giovanni
          Mancuso" &lt;<a moz-do-not-send="true"
            href="mailto:giovanni.mancuso@par-tec.it">giovanni.mancuso@par-tec.it</a>&gt;

          wrote:<br type="attribution">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Il 13/08/2015 11:43, Fabien Wernli ha scritto:<br>
              </div>
              <blockquote type="cite">Look for `log-msg-size` option </blockquote>
              Hi, <br>
              i had this <span style="font-family:monospace"><span
                  style="color:#000000;background-color:#ffffff">
                  log_msg_size(81920)</span></span> in source:<br>
              <br>
              <span style="font-family:monospace"><span
                  style="color:#000000;background-color:#ffffff">source
                  mailet_log { </span><br>
                       file(<span
                  style="color:#b21818;background-color:#ffffff">"/opt/myApp/mylog.log"</span><span
                  style="color:#000000;background-color:#ffffff">
                  log_msg_size(81920)); </span><br>
                }; <br>
              </span><br>
              <br>
              Thanks<br>
              <br>
              <div>-- <br>
                <br>
              </div>
            </div>
            <br>
______________________________________________________________________________<br>
            Member info: <a moz-do-not-send="true"
              href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"
              rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
            Documentation: <a moz-do-not-send="true"
              href="http://www.balabit.com/support/documentation/?product=syslog-ng"
              rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
            FAQ: <a moz-do-not-send="true"
              href="http://www.balabit.com/wiki/syslog-ng-faq"
              rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
            <br>
            <br>
          </blockquote>
        </div>
      </blockquote>
      <br>
      <br>
      <div class="moz-signature">-- <br>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">______________________________________________________________________________
Member info: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a class="moz-txt-link-freetext" href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a>

</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <br>
    </div>
  </body>
</html>