Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

How can I configure logging level? #37

Answered by jertel
cagri387 asked this question in Q&A
Discussion options

You must be logged in to vote

There is no need to modify the Dockerfile. You can add either --debug or --verbose to the end of the docker run ... command line. Below are three scenarios showing the difference in logging behavior:

Running with normal logging:

jertel@y go % docker run -it --rm -v /tmp/ea/config.yaml:/opt/config/elastalert_config.yaml jertel/elastalert-docker
Elastic Version: 7.9.2
Reading Elastic 6 index mappings:
Reading index mapping 'es_mappings/6/silence.json'
Reading index mapping 'es_mappings/6/elastalert_status.json'
Reading index mapping 'es_mappings/6/elastalert.json'
Reading index mapping 'es_mappings/6/past_elastalert.json'
Reading index mapping 'es_mappings/6/elastalert_error.json'
Index ela…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cagri387
Comment options

Answer selected by cagri387
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #37 on October 20, 2020 20:29.