-
I want to see some more logs when I run docker logs. I tried to edit corresponding line in DockerFile to run elastalert with --verbose parameter, but it didn't work.
How can I run elastalert with logging level info or even below? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is no need to modify the Dockerfile. You can add either Running with normal logging:
Running with verbose logging: (Notice the additional INFO log lines)
Logging with Debug: (Notice the output that advises DEBUG mode does not actually trigger alerts)
You can further tweak logging output via the logging section in the config.yaml file, if needed. As this is not an actual issue I'm moving this to the Discussions area. |
Beta Was this translation helpful? Give feedback.
There is no need to modify the Dockerfile. You can add either
--debug
or--verbose
to the end of thedocker run ...
command line. Below are three scenarios showing the difference in logging behavior:Running with normal logging: