Disable kong proxy logs on eks

Hi,

I deployed kong ingress controller on eks, but how can I disable these logs from the proxy(kong) container?

I got these logs by using this command:

k -n kong logs ingress-kong-2333233244-923233 proxy.

172.24.150.250 [16/Jul/2020:09:03:37 +0000] TCP 200 0 0 0.001
172.24.132.244 [16/Jul/2020:09:03:37 +0000] TCP 200 0 0 0.002
172.24.132.244 [16/Jul/2020:09:03:37 +0000] TCP 200 0 0 0.000
172.24.128.222 [16/Jul/2020:09:03:38 +0000] TCP 200 0 0 0.001
172.24.132.244 [16/Jul/2020:09:03:38 +0000] TCP 200 0 0 0.001
172.24.132.189 [16/Jul/2020:09:03:38 +0000] TCP 200 0 0 0.001
172.24.150.250 [16/Jul/2020:09:03:38 +0000] TCP 200 0 0 0.000
172.24.160.79 [16/Jul/2020:09:03:38 +0000] TCP 200 0 0 0.001
172.24.156.23 [16/Jul/2020:09:03:38 +0000] TCP 200 30 213 60.490
172.24.160.79 [16/Jul/2020:09:03:39 +0000] TCP 200 0 0 0.001
172.24.156.23 [16/Jul/2020:09:03:39 +0000] TCP 200 0 0 0.000
172.24.128.222 [16/Jul/2020:09:03:39 +0000] TCP 200 0 0 0.002
172.24.131.179 [16/Jul/2020:09:03:39 +0000] TCP 200 0 0 0.001
172.24.132.244 [16/Jul/2020:09:03:39 +0000] TCP 200 0 0 0.001
172.24.128.222 [16/Jul/2020:09:03:40 +0000] TCP 200 0 0 0.000
172.24.131.179 [16/Jul/2020:09:03:40 +0000] TCP 200 0 0 0.001
172.24.131.179 [16/Jul/2020:09:03:40 +0000] TCP 200 0 0 0.002

Set env var KONG_PROXY_ACCESS_LOG to /dev/null.

Thanks @hbagdi
I also notice there’re too much logs like in kong ingress controller.

kong.go:68] no configuration change, skipping sync to Kong

Is there also any way to disable that?

set log_level to error


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ