<div dir="ltr">Hi David, <div><br></div><div>The issue with persist_name() option was mentioned (and solved) previously in: <a href="https://github.com/balabit/syslog-ng/issues/1275">https://github.com/balabit/syslog-ng/issues/1275</a></div><div><br></div><div>Br, </div><div>Andras</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 23, 2017 at 1:28 AM, David Hauck <span dir="ltr"><<a href="mailto:davidh@netacquire.com" target="_blank">davidh@netacquire.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm in the processing or updating a distribution's v3.6.3 syslog-ng configuration to v3.9.1 and am running into some issues getting syslog-ng started. The first one was:<br>
<br>
Starting syslog-ng: Error parsing config, Error compiling template (Unknown template function "format-json") in /usr/share/syslog-ng/include/<wbr>scl/cim/template.conf at line 23, column 32<br>
<br>
I found a reference online to fixing this by removing /usr/share/syslog-ng/include/<wbr>scl/cim and this indeed got me past this error (hopefully this is an otherwise benign modification).<br>
<br>
I'm now stuck at the following error:<br>
<br>
Starting syslog-ng: [2017-02-22T08:07:50.101422] Error checking the uniqueness of the persist names, please override it with persist-name option. Shutting down.; persist_name='affile_dd_<wbr>writers(/var/log/abc/audit_<wbr>log)', location='/etc/syslog-ng.conf:<wbr>128:33'<br>
<br>
Here's snippet from my configuration file that this error message references:<br>
<br>
...<br>
destination d_abcaudit         { file("/var/log/abc/audit_log" template(t_NAFormat));        };<br>
destination d_abcaudit_Prio    { file("/var/log/abc/audit_log" template(t_NAFormat_Prio));   };<br>
--> destination d_abcaudit_IPtab   { file("/var/log/abc/audit_log" template(t_abcFormat_IPtab));   };<br>
destination d_abcmessage_Prio  { file("/dev/null"); };<br>
...<br>
<br>
I wasn't able to find any documentation or guidance on the "persist-name" option. Any ideas on how I should go about fixing this error?<br>
<br>
Thanks,<br>
-David<br>
______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
</blockquote></div><br></div>