Commit 57c7c12d authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Gunicorn uses logstash.

parent efc71fab
Pipeline #68492 passed with stages
in 17 minutes and 15 seconds
......@@ -38,19 +38,22 @@ data:
args=(sys.stdout, )
[handler_access]
class=StreamHandler
formatter=generic
args=(sys.stdout, )
class=logstash.TCPLogstashHandler
formatter=json
args=('{{ .Values.logstash.host }}',{{ .Values.logstash.port }})
[handler_error]
class=StreamHandler
formatter=generic
args=(sys.stdout, )
class=logstash.TCPLogstashHandler
formatter=json
args=('{{ .Values.logstash.host }}',{{ .Values.logstash.port }})
[formatter_generic]
format=%(asctime)s [%(process)d] [%(levelname)s] %(message)s
datefmt=%Y-%m-%d %H:%M:%S
class=logging.Formatter
[formatter_json]
class=pythonjsonlogger.jsonlogger.JsonFormatter
---
apiVersion: v1
kind: ConfigMap
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment