# Simple # In this example # All images are logged seperately # You could have multiple flogs running in a simple mode to hadnle several # hosts. See vhost for a single process solution. %FILES= ( # Images are buffered (who cares about them? ;-) IMAGES=>[">>/var/log/httpd/images.log"], # Everything else is not CATCH=>[">>/home/httpd/logs/access.log",1 ] ); sub log{ # Return if you do not wish to duplicate data across logs return print IMAGES if m%\.(gif|jpg|png) %; print CATCH; } 1;