diamond-DockerContainerCollector icon indicating copy to clipboard operation
diamond-DockerContainerCollector copied to clipboard

disable debug output

Open stevezau opened this issue 9 years ago • 4 comments

hey,

is there anyway to disable the debug output to console? I collect container logs into a log mgmt tool, this container is very chatty with debug logs.

stevezau avatar Jun 05 '16 07:06 stevezau

I think it's just one of the diamond command line arguments in entrypoint.sh.

lesaux avatar Jun 05 '16 15:06 lesaux

I believe diamond has hard-coded debug for stdout: https://github.com/python-diamond/Diamond/blob/master/src/diamond/utils/log.py#L38-L43

choang avatar Jun 17 '16 06:06 choang

removing the -l option from the command line should make it a little less verbose. I am publishing that change now, let me know if you see improvement.

lesaux avatar Jun 17 '16 14:06 lesaux

that worked for me. Now it feels too quiet :) This is definitely the preferred state, though.

Thanks!

choang avatar Jun 17 '16 16:06 choang