How to customize Apache logs coming from containers

Solution Verified - Updated -

Issue

Apache log directives are included in the default configuration.
Adding log directives in an additional configuration file does not eliminate the standard logging directives, resulting in duplicated log lines.

Environment

  • OpenShift Container Platform (all versions) with php-70-rhel7 and similar images

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