[syslog-ng] syslo-ng to mysql and to plaintext file
sawall
sawall at gmail.com
Mon Aug 1 20:26:23 CEST 2005
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.
then just add
log { source(src); filter(filter_1); destination(file_text); };
you can really have as many "log" entries as you want. i write to several
different files.
hope that helps.
chris
On 8/1/05, javier rojas <javier.rojasr at gmail.com> wrote:
>
> hello,
>
> i've configure successfuly the syslog-ng server to save logs on mysql 4.0and 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:
>
> destination file_text{ file("/var/log/example.txt"); };
>
> 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...
>
> thanx for the help...
>
> --
> Ciao,Javier
> linux user #393724
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20050801/559922f0/attachment.html
More information about the syslog-ng
mailing list