Skip to content

Commit 3cbf908

Browse files
committed
Set elasticsearch loglevel to warning in production
1 parent 6c5a98a commit 3cbf908

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

conf/production.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use = call:h.app:create_app
1010
use: egg:PasteDeploy#prefix
1111

1212
[loggers]
13-
keys = root, h, alembic
13+
keys = root, h, alembic, elasticsearch
1414

1515
[handlers]
1616
keys = console
@@ -32,6 +32,11 @@ level = INFO
3232
handlers =
3333
qualname = alembic
3434

35+
[logger_elasticsearch]
36+
level = WARNING
37+
handlers =
38+
qualname = elasticsearch
39+
3540
[handler_console]
3641
class = StreamHandler
3742
args = (sys.stderr,)

0 commit comments

Comments
 (0)