<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hmm - the version shouldn't&nbsp; be the issue as far as I know.<br>
    <br>
    You might try tracing the syslog-ng process when the file source is
    appended to.<br>
    <br>
    Pretty basic I know - but it might give an indication of what
    is/is-not happening.<br>
    <br>
    Also - have you tried with "follow_freq" specified?<br>
    <br>
    Jim<br>
    <br>
    <div class="moz-cite-prefix">On 07/18/2014 04:14 AM, Rafa&#322; Radecki
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAHd9_iT116YLNwZCjbnkxnic-On0crFCOOTXELVc1jFF3sFCow@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>Hi All ;)<br>
                    <br>
                  </div>
                  I am using a virtual machine with:<br>
                  Red Hat Enterprise Linux Server release 5.7 (Tikanga)<br>
                  Linux logserver01 2.6.18-274.el5 #1 SMP Fri Jul 8
                  17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux<br>
                </div>
                syslog-ng 2.1.4<br>
                <br>
              </div>
              I have following configuration:<br>
              <br>
              ...<br>
              &nbsp; 9 options {<br>
              &nbsp;10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; create_dirs (yes);<br>
              &nbsp;11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dir_group (root);<br>
              &nbsp;12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dir_owner (root);<br>
              &nbsp;13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dir_perm (0700);<br>
              &nbsp;14&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; group (root);<br>
              &nbsp;15&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; owner (root);<br>
              &nbsp;16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; perm (0600);<br>
              &nbsp;17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; flush_lines(1);<br>
              &nbsp;18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; flush_timeout (1000);<br>
              &nbsp;19&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keep_hostname (yes);<br>
              &nbsp;20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log_fifo_size (1);<br>
              &nbsp;21&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use_dns (no);<br>
              &nbsp;22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use_fqdn (no);<br>
              &nbsp;23 };<br>
              ...<br>
              &nbsp;39 source s_stdout {<br>
              &nbsp;40 #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file ("/logs/stdout.log" flags(no-parse)
              follow_freq(1));<br>
              &nbsp;41&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file ("/logs/stdout.log" flags(no-parse));<br>
              &nbsp;42 };<br>
              ...<br>
              61 destination d_stdout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
              file("/var/log/$YEAR$MONTH$DAY/stdout"); };<br>
              ...<br>
              80 log { source(s_stdout); destination(d_stdout); };<br>
              <br>
            </div>
            The problem is that changes in /logs/stdout.log are only
            visible in /var/log/20140717/stdout when I perform
            /etc/init.d/syslog-ng reload or restart. I tried several
            settings of flush_*, log_fifo_size and follow_freq but with
            no luck :D<br>
            <br>
          </div>
          Is it a problem withe the version that I use (quite old :D )
          or is there a mistake in my configuration maybe?<br>
          <br>
        </div>
        BR,<br>
        Rafal.</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>
  </body>
</html>