added support for apache error logs