Just set up the destination as you described below and then set up
another log rule, assuming you're going to use the same source and
filter.<br>
<br>
then just add<br>
<br>
log { source(src); filter(filter_1); destination(file_text); };<br>
<br>
you can really have as many &quot;log&quot; entries as you want.&nbsp; i write to several different files.<br>
<br>
hope that helps.<br>
<br>
chris<br>
<br><br><div><span class="gmail_quote">On 8/1/05, <b class="gmail_sendername">javier rojas</b> &lt;<a href="mailto:javier.rojasr@gmail.com">javier.rojasr@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hello,<br>
<br>
i've configure successfuly the syslog-ng server to save logs on mysql
4.0 and i would like it to store the logs (just for a test) on a text
file (example.txt), so i was searching aroun and found that i should
add the followin line to syslog-ng.conf:<br>
<br>
<span>destination file_text{ file(&quot;/var/log/example.txt&quot;);
          };<br>
<br>
i don't want to mess anything and i was wondering if it's ok or if
anybody has set this before, i don't want it to stop saving it on mysql
i just want syslog-ng to save in both (mysql and example.txt) at the
same time...<br>
<br>
thanx for the help...<br>
</span><br>-- <br>Ciao,Javier<br>linux user #393724

<br>_______________________________________________<br>syslog-ng maillist &nbsp;- &nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>Frequently asked questions at <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html
</a><br><br><br><br></blockquote></div><br>