Log pipes
am 22.04.2008 02:51:50 von JeremyI want to write a small C program that accepts piped log entries from
Apache and does things with them (specifically, it will parse the
entries and dump them into a database). How does the piped logging
lifecycle work? Is one logging process started for each apache process?
Must my C program be threadsafe? Better yet, does anyone know of a
minimal example that does this (just takes Apache log entries from stdin
and parses them)?
Thanks,
Jeremy