<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Hi,</div><div><br></div><div>I do not know if this a seen issue or not. I am using syslog-ng version 3.19 on a Debian 10.<br></div><div>I have the configuration which is attached in this email: syslog-ng.conf, that has one local file destination and one remote host destination.</div><div><br></div><div>1. Start the syslog-ng<br></div><div>The localip of syslog destination is not available and therefore I have these errors, as expected:</div><div><span style="font-family:monospace">syslog-ng[1482]: [2020-07-27T12:58:00.069422] Error binding socket; addr='AF_INET(10.0.2.6:0)', error='Cannot assign requested address (99)'<br>syslog-ng[1482]: [2020-07-27T12:58:00.069439] Initiating connection failed, reconnecting; time_reopen='60' <br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><font face="arial,sans-serif">2. After some time running syslog-ng stops sending the logs to the local file. Why?<br></font></span></div><div><span style="font-family:monospace"><font face="arial,sans-serif"><br></font></span></div><div><span style="font-family:monospace"><font face="arial,sans-serif">3. If I reload the syslog-ng configuration, without the remote destination, the old logs are immediately flushed to the local file.</font></span></div><div><span style="font-family:monospace">Jul 27 <b>15:05:55</b> localhost syslog-ng[29680]: [<b>2020-07-27T15:05:55.378</b>019] Incoming log entry from journal; message='[<b>2020-07-27T13:44:06.890</b>952] Outgoing message; message=\'<30>1 2020-07-27T13:44:06.772+00:00 localhost syslog-ng 29680 - - [2020-07-27T13:44:06.772722] Processing the time zone file (32bit part); filename=\\'/usr/share/zoneinfo/UTC\\'\x0a\''<br>Jul 27 15:05:55 localhost syslog-ng[29680]: [2020-07-27T15:05:55.378032] json-parser(): no marker at the beginning of the message, skipping JSON parsing ; input='[2020-07-27T13:44:06.890952] Outgoing message; message=\'<30>1 2020-07-27T13:44:06.772+00:00 localhost syslog-ng 29680 - - [2020-07-27T13:44:06.772722] Processing the time zone file (32bit part); filename=\\'/usr/share/zoneinfo/UTC\\'\x0a\'', marker='@cim:'</span></div><div><br></div><div>Is this a new issue?</div><div>Is there any configuration to prevent this?<br></div><div><br></div><div>In attachment also the journalctl of syslog-ng in debug mode (syslog-ng -Fvde).<br></div><div></div><div><br></div><div>Thanks and regards,</div><div>Alex<br></div><div><br></div></div>
</div></div>