Log rotate configuration for grafana 12/8412/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 17 Dec 2019 10:01:06 +0000 (11:01 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 18 Dec 2019 10:11:38 +0000 (11:11 +0100)
Change-Id: I0effeb043ef6d034ff46b48c5366ea60e81f838c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/docker/docker-compose.yaml

index c8b846d..104de48 100644 (file)
@@ -270,3 +270,9 @@ services:
       - "${OSM_GRAFANA_PORTS:-3000:3000}"
     networks:
       - netOSM
+    logging:
+      driver: "json-file"
+      options:
+        max-size: "100m"
+        max-file: "2"
+