1

How to find in runtime access/error log LogFormat in Apache?

view story
linux-howto

http://serverfault.com – I want to parse access_log and error_log of multiple apache server. But I don't know the LogFormat while parsing the logs. So before that I want to know the LogFormat which has been configured in each Apache. One way is I can parse first httpd.conf and Find LogFormat and CustomeLog" string and get the log format. Is there any other way to check in runtime logformat by any command or apache utility ? Is LogFormat "common, combined etc" has been fix things ? If yes that Can I build different regEx for each type ? (HowTos)