InfluxDB Docker logging


#1

Hi.

I have a websocket connection emitting 100 or so messages a second and I am sanitizing it and inserting it into influxdb.

The docker container (https://hub.docker.com/_/influxdb/) is showing me httpd logs such as

influxdb_1             | 2018-03-18T16:36:42.590335174Z [httpd] 172.19.0.3 - root [18/Mar/2018:16:36:42 +0000] "POST /write?db=test_nextjs&p=%5BREDACTED%5D&precision=n&rp=&u=root HTTP/1.1" 204 0 "-" "-" 8a3de4c5-2aca-11e8-b1b6-000000000000 2206

I am not really that interested in all this logging and it’s clogging up my Docker (Compose) output.

How do i disable this?

I have tried passing INFLUXDB_DATA_QUERY_LOG_ENABLED=false to my container.


#2

Those are the HTTP logs: https://docs.influxdata.com/influxdb/v1.5/administration/config/#log-enabled-true

Try INFLUXDB_HTTP_LOG_ENABLED=false.