<p dir="ltr">Those lines only indicate that the destination files are idle. Try to troubleshoot the input side of syslog-ng (port open, packet filter, IP connectivity, firewall, client side,...)</p>
<div class="gmail_quote">On May 24, 2013 9:51 AM, "Jordi Prats" <<a href="mailto:jordi.prats@gmail.com">jordi.prats@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>Hi,<br>After updating to syslog-ng 3.2, I'm no longer getting any logs. It reports some destinations as unused:<br><br>May 23 17:09:16 borg syslog-ng[27957]: Reaping unused destination files; template='/var/log/firewalls/$YEAR/$MONTH/$DAY/$HOST.log'<br>
May 23 17:09:16 borg syslog-ng[27957]: Reaping unused destination files; template='/var/log/troncal/$YEAR/$MONTH/$DAY/$SOURCEIP.log'<br>May 23 17:09:16 borg syslog-ng[27957]: Reaping unused destination files; template='/var/log/remote/$HOST/$YEAR/$MONTH/$DAY/$PROGRAM/$FACILITY'<br>
<br>But I have no clue why, as this configuration was working on another system (I'm pretty sure it was an older version, but I can't tell which exactly)<br><br>My config is as follows:<br><br>options {<br> time_reopen (10);<br>
long_hostnames (off);<br> use_dns (no);<br> use_fqdn (no);<br> create_dirs (yes);<br> keep_hostname (yes);<br><br> sync (5000);<br> time_reap(5);<br> log_fifo_size (536870912);<br> stats_freq(60);<br>
flush_lines(500);<br> flush_timeout(10000);<br>};<br><br>source remote_tcp { tcp(port(514) keep-alive(no)); };<br><br>source remote_default { udp(ip(192.168.1.1) port(514)); };<br>source remote_servers { udp(ip(192.168.1.2) port(514)); };<br>
source firewalls { udp(port(1515)); };<br>source troncal { udp(ip(192.168.1.3) port(514)); };<br><br><br>destination hosts { file("/var/log/remote/$HOST/$YEAR/$MONTH/$DAY/$PROGRAM/$FACILITY" owner(root)<br> group(root) perm(0644) dir_perm(0755) create_dirs(yes)); };<br>
<br>destination firewalls { file("/var/log/firewalls/$YEAR/$MONTH/$DAY/$HOST.log" owner(root)<br> group(root) perm(0644) dir_perm(0755) create_dirs(yes)); };<br><br>destination troncal { file("/var/log/troncal/$YEAR/$MONTH/$DAY/$SOURCEIP.log" owner(root)<br>
group(root) perm(0644) dir_perm(0755) create_dirs(yes)); };<br><br><br>log { source(remote_default); source(remote_servers); destination(hosts); };<br>log { source(firewalls); destination(firewalls); };<br>log { source(troncal); destination(troncal); };<br>
<br>Anyone can help me out?<br><br>Thank you!</div></div></div><div><div><div><div><div><div><div>-- <br>Jordi<br>
</div></div></div></div></div></div></div></div>
<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
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>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div>