[syslog-ng] Installing multiple instances of Syslog-NG

Shashank Rohatgi srck85 at gmail.com
Tue Mar 4 22:18:43 CET 2014


Evan

Thank you for your reply. I am new to syslog-ng on command line.  Can you
also explain what are a persist and control  files?




On Tue, Mar 4, 2014 at 11:01 PM, Evan Rempel <erempel at uvic.ca> wrote:

> You don't need to copy the binary, but you do need to specify a uniq set
> of configuration files, persistence files and control socket.
>
> You also need to ensure that the second instance does NOT read data from
> the local OS log sources such as
> /dev/log
> /proc/kmsg
>
> our second instance looks like
>
> syslog-ng --cfgfile=/usr/local/etc/syslog-ng/syslog-ng.files.conf
> --persist-file=/var/local/syslog-ng.files.persist
> --pidfile=/var/run/syslog-ng.files.pid
> --control=/var/local/syslog-ng.files.ctl
>
> Hope that helps.
>
>
>
> On 03/04/2014 07:24 AM, Shashank Rohatgi wrote:
> > Hi
> >
> > Can someone help me figure out how to install multiple instances of
> syslog-ng on a single server.
> > Copying the binary and starting it with a different configuration file
> did spawn another instances but it wasnt independent as i saw it behaving
> different than what is configured in its syslog-ng file.
> >
> > I need a parallel instance for development alongside production.
> > Thanks in advance
> >
> > regards
> > SK
> >
> >
> >
> ______________________________________________________________________________
> > Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> > Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> > FAQ: http://www.balabit.com/wiki/syslog-ng-faq
> >
>
>
> --
> Evan Rempel                                      erempel at uvic.ca
> Senior Systems Administrator                        250.721.7691
> Data Centre Services, University Systems, University of Victoria
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140305/467492e2/attachment.htm 


More information about the syslog-ng mailing list