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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.