Added conditional outputting of httpd log