Syslog-NG

24 views
Skip to first unread message

specki

unread,
Dec 12, 2011, 6:10:52 AM12/12/11
to MySQL Multi Master Manager Development
Hello,
I would like to send the mm-logs to the syslog. So i read the how to
about syslog-ng now i don't know. How i can integrate a new Log in the
syslog-ng. I hope someone can help me

Pascal Hofmann

unread,
Dec 12, 2011, 6:23:08 AM12/12/11
to mmm-...@googlegroups.com
Hi,

MMM 2.x uses log4perl for logging. You can create a custom configuration file[1] for log4perl and use the perl module Log::Dispatch::Syslog (don't forget to check whether it's installed on your hosts) to write log messages to syslog.

I think Section 4 ("Logging messages to Syslog") on [2] will help.


Cheers

Pascal

[1] http://mysql-mmm.org/mysql-mmm.html#SEC60
[2] http://netlinxinc.com/netlinx-blog/52-perl/126-eight-loglog4perl-recipes.html

Reply all
Reply to author
Forward
0 new messages