How to modify Apache httpd logging

Solution Verified - Updated -

Issue

  • How to increase logging level to debug apache issues
  • How to reduce the verbosity of the Apache httpd log
  • How to customize log level per module
  • How to customize log level per directory
  • How to enable SSL debug in Apache httpd
  • We have some servers dedicated to providing Apache httpd services and we do not need the logging that is produced in the file /var/log/httpd/*. What is the recommended way to tune the httpd.conf file to reduce this logging to little or none at all?

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Software Collections (RHSCL)
  • Red Hat JBoss Web Server (JWS)
  • Red Hat JBoss Core Services (JBCS)
  • Apache Web Server (httpd)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content