Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-348

nginx access.log is very verbose which will may lead to quickly filling container

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: PMM Server
    • Labels:
      None
    • Sprint:
      27W2017Y (07/3-07/9)

      Description

      Introduction

      /var/log/nginx/access.log:

      192.168.1.22 - - [09/Sep/2016:07:53:01 +0000] "GET /qan-api HTTP/1.1" 200 109 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:07:53:01 +0000] "GET /qan-api/agents/39aa64c90c3f448049ea1c41299c7e13 HTTP/1.1" 404 15 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:07:53:04 +0000] "GET /qan-api HTTP/1.1" 200 109 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:07:53:04 +0000] "GET /qan-api/agents/39aa64c90c3f448049ea1c41299c7e13 HTTP/1.1" 404 15 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:07:53:07 +0000] "GET /qan-api HTTP/1.1" 200 109 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:07:53:07 +0000] "GET /qan-api/agents/39aa64c90c3f448049ea1c41299c7e13 HTTP/1.1" 404 15 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:07:55:59 +0000] "GET / HTTP/1.1" 200 1907 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:07:55:59 +0000] "GET /v1/status/leader HTTP/1.1" 200 16 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:07:55:59 +0000] "GET /v1/status/leader HTTP/1.1" 200 16 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:08:00:09 +0000] "GET / HTTP/1.1" 200 1907 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:08:00:09 +0000] "GET /v1/status/leader HTTP/1.1" 200 16 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:08:00:09 +0000] "GET /v1/catalog/node/localhost.localdomain HTTP/1.1" 200 4 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:08:00:09 +0000] "GET /v1/catalog/node/localhost.localdomain HTTP/1.1" 200 4 "-" "Go-http-client/1.1"
      192.168.1.22 - - [09/Sep/2016:08:00:09 +0000] "GET /v1/catalog/service/linux:metrics?tag=alias_localhost.localdomain HTTP/1.1" 200 2 "-" "Go-http-client/1.1"
      

      Tasks

      1. Install logrotate into docker container
      2. Confirm logrotate works to control /var/log/nginx/access.log

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                nailya.kutlubaeva Nailya Kutlubaeva
                Reporter:
                roel.vandepaar Roel Van de Paar (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: