> I tried to do that with syslog-ng but it doesn't work What exactly didn't work (before writing a longer configuration example)? It's kind of simple with syslog-ng - you set the nginx log file as source / provide mysql as destination and that's it. rr