This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[uwsgi] | |
;this will encode uwsgi messages into JSON, encode requests to JSON and leave application output unchanged | |
;if this output from application has msgName string | |
logger = default stdio | |
logger = secondlogger stdio | |
log-route = secondlogger msgName | |
log-route = default ^((?!msgName).)*$ | |
log-encoder = json:default {"@timestamp":"${strftime:%%Y-%%m-%%dT%%H:%%M:%%S.666Z}","source":"uwsgi", "message":"${msg}"} |