<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Syslog-ng remote logging only (without saving anything to local files)]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">we are just making setup to send all logs from pfsense device to remote syslog server using TCP.<br />
Because standard syslog package does not support TCP, we use syslog-ng and forward all logs there.<br />
Next, there is an remote destination defined to log to external syslog server using TCP.</p>
<p dir="auto">Everything work as it should, but unfortunately, there is no way how to clearly disable file logging in syslog-ng.<br />
We can change filename and path, but we cannot disable it. Moreover, DEFAULT objects defined are not configurable because they are generated automatically.</p>
<p dir="auto">We did a workaround so /var/syslog-ng/default.log is pointing to /dev/null by symlink but this is not "nice" solution.<br />
Is there any way how to clearly disable all file logging via web interface? If not, this would be very useful feature request.<br />
Of course I can create feature request, I just wanted to discuss on forum first.</p>
<p dir="auto">Thank you<br />
Lukas</p>
]]></description><link>https://forum.netgate.com/topic/172121/syslog-ng-remote-logging-only-without-saving-anything-to-local-files</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 01:17:55 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/172121.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 May 2022 08:23:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Syslog-ng remote logging only (without saving anything to local files) on Tue, 17 May 2022 11:43:53 GMT]]></title><description><![CDATA[<p dir="auto">Mmm, but you can set the default source to a non used port for example it won't ever log anything. Just use your custom source on the real port.<br />
Or just use a non standard port to send traffic to your custom source.</p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.netgate.com/post/1042512</link><guid isPermaLink="true">https://forum.netgate.com/post/1042512</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Tue, 17 May 2022 11:43:53 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog-ng remote logging only (without saving anything to local files) on Tue, 17 May 2022 07:39:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10">@<bdi>stephenw10</bdi></a> This does not seems to be so easy. We have created custom objects for logging. But default log object looks like this and it cannot be edited/deleted. So it is still used and I did not find way how to just "ignore" it.</p>
<p dir="auto"><img src="/assets/uploads/files/1652773093695-b6cc4654-282a-4b3a-884c-8cdf2de6fd5a-image.png" alt="b6cc4654-282a-4b3a-884c-8cdf2de6fd5a-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1042487</link><guid isPermaLink="true">https://forum.netgate.com/post/1042487</guid><dc:creator><![CDATA[limos]]></dc:creator><pubDate>Tue, 17 May 2022 07:39:32 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog-ng remote logging only (without saving anything to local files) on Thu, 12 May 2022 14:07:56 GMT]]></title><description><![CDATA[<p dir="auto">I have done this before by just creating custom objects for all the required stages and ignoring the default objects. Then you can do whatever you want.</p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.netgate.com/post/1041905</link><guid isPermaLink="true">https://forum.netgate.com/post/1041905</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Thu, 12 May 2022 14:07:56 GMT</pubDate></item></channel></rss>