Skip to content

Commit

Permalink
Merge pull request #18 from plivo/elk-logs
Browse files Browse the repository at this point in the history
uwsgi log formatting
  • Loading branch information
likithplivo authored Feb 26, 2020
2 parents 4795000 + 63760ce commit c1fc775
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/sharq.ini.ctmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ gevent = 1024

# configure sharq config path
env = SHARQ_CONFIG=/etc/sharq-server/config/sharq.conf
log-format = {"client_addr":"%(addr)","request_method":"%(method)","request_uri":"%(uri)","response_size":%(rsize),"response_time":%(msecs),"status":%(status),"protocol":"%(proto)","timestamp":%(time),"level":"info"}

0 comments on commit c1fc775

Please sign in to comment.