Switch off access logging 29/36729/1
authorAvinash S <avinash.s@huawei.com>
Mon, 19 Mar 2018 13:23:31 +0000 (13:23 +0000)
committerAvinash S <avinash.s@huawei.com>
Mon, 19 Mar 2018 13:23:31 +0000 (13:23 +0000)
save disc space

Issue-ID: VNFSDK-166

Change-Id: I7d0cf06777a4b7ae77dad8290840a5af17cc4e2e
Signed-off-by: Avinash S <avinash.s@huawei.com>
vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/nginx.conf

index e55f6a8..56cc65f 100644 (file)
@@ -17,8 +17,11 @@ http {
        tcp_nodelay on;
        keepalive_timeout 65;
        types_hash_max_size 2048;
-        access_log            /var/log/nginx/access.log;
-        error_log            /var/log/nginx/error.log;
+
+        #Comment or disable the access_log once tested to avoid runtime logs
+#        access_log            /var/log/nginx/access.log format gzip;
+        access_log            off;
+        error_log            /var/log/nginx/error.log format gzip;
 
        server {
                listen *:8703 ssl;