Unable to View INFLUXDB Log's

#1

Hi all, im running influxdb 1.0 through docker container and in the docker run command i’ve specifically mentioned to write logs to -v /mnt/influxdb/log:/var/log/influxdb but i dont see any influxdb logs.

Please help do i need to give any rw permissions or how do i fix that?

#2

@Praphooldhole In docker the process is running in the foreground and the logs are output to stdout. Can you see the logs with docker logs influxdb?

#3

Yes i see something like this [httpd] 172.17.0.1 - - [30/May/2017:17:53:11 +0000] “POST /write?consistency=any&db=CassiniDB&precision=ns&rp= HTTP/1.1” 204 0 “-” “InfluxDBClient” d8be0720-4560-11e7-8184-000000000000 2393
[httpd] 172.17.0.1 - - [30/May/2017:17:53:21 +0000] “POST /write?consistency=any&db=CassiniDB&precision=ns&rp= HTTP/1.1” 204 0 “-” “InfluxDBClient” deb3e105-4560-11e7-8185-000000000000 2442
[I] 2017-05-30T17:53:21Z retention policy shard deletion check commencing service=retention

is that how it is supposed to be?

#4

@Praphooldhole Yup! That is intended behavior.

#5

Awesome you guys are!!!