Re: MySQL to syslog

2003-08-16 Thread Stephen Touset
Correct me if I'm wrong, but won't this cause it to no longer be a real-time solution? The machine I'm running MySQL on is fairly vulnerable to attack (which, for the time being, cannot be changed...although I have secured it as much as is possible), which is why I'm logging everything remotely

RE: MySQL to syslog

2003-08-15 Thread Sagar, Sanjeev
I am not sure that MySQL can directly log to syslog but Unix provide this logger - make entries in the system log logger [-t tag] [-p pri] [-i] [-f file] [message...] So you use MysQL to put messages in a file and then use logger to send it to syslogs. This is how we do it too. Regards, -O