# HG changeset patch # User RhodeCode Admin # Date 2022-12-26 19:19:58 # Node ID 4f9554192a30f9a372673768c1df41e861344da0 # Parent f2b029ea3b3df355bcf7ee5625f5ac4e833bddec config: fix double keywork for formatter for easier sed replace diff --git a/configs/development.ini b/configs/development.ini --- a/configs/development.ini +++ b/configs/development.ini @@ -258,10 +258,9 @@ propagate = 1 class = StreamHandler args = (sys.stderr, ) level = DEBUG +; To enable JSON formatted logs replace 'generic' with 'json' +; This allows sending properly formatted logs to grafana loki or elasticsearch formatter = generic -; To enable JSON formatted logs replace generic with json -; This allows sending properly formatted logs to grafana loki or elasticsearch -#formatter = json ; ########## ; FORMATTERS diff --git a/configs/production.ini b/configs/production.ini --- a/configs/production.ini +++ b/configs/production.ini @@ -221,10 +221,9 @@ propagate = 1 class = StreamHandler args = (sys.stderr, ) level = INFO +; To enable JSON formatted logs replace 'generic' with 'json' +; This allows sending properly formatted logs to grafana loki or elasticsearch formatter = generic -; To enable JSON formatted logs replace generic with json -; This allows sending properly formatted logs to grafana loki or elasticsearch -#formatter = json ; ########## ; FORMATTERS