Re: [Samba] Logging to MySQL

2006-11-17 Thread Aaron Kincer
Funny, just 15 minutes ago I was thinking "I need to setup logging to dump into a database." I'll check it out soon and give it a test run. Thanks for answering my thoughts. Quim Rovira wrote: I've written down a simple yet a bit obfuscated perl script to put samba logs on a MySQL database,

[Samba] Logging to MySQL

2006-11-17 Thread Quim Rovira
I've written down a simple yet a bit obfuscated perl script to put samba logs on a MySQL database, inspired on a little howto i found some time ago googleing around. It works by reading logs from a fifo instead of parsing actual log files, but allows to create sparse files too. Log lines are then