Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-6545

Disable logging for health checks in APIcast

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • None
    • 2.9.1 GA
    • Gateway
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 0
    • 0% 0%
    • Undefined

    Description

      A common problem when configuring Openshift, Kubernetes or even an AWS Load Balancer with APIcast is the following output is logged in APIcast repeatedly due to the health check:

      2016/08/30 19:50:32 [info] 7#0: *1 client closed connection while waiting for request, client: 10.2.29.0, server: 0.0.0.0:80
      

      I would be good if we could disable the logging on the health check endpoint (/status/live) so that the logs are less noisy at the info level.

      Example nginx configuration:

      server 
      {
              location /status/live {
                      access_log off;
               }
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-spoole Shannon Poole
            Eloy Coto Eloy Coto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: