Skip to content

Commit

Permalink
Fix logformat
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed May 3, 2021
1 parent 009ec66 commit e2d0628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 3proxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ nscache 65536
# Here we can change timeout values
timeouts 1 5 30 60 180 1800 15 60

log /dev/stdout
# Logging docs: <https://3proxy.org/doc/howtor.html#LOGFORMAT>
logformat "-\""+_G{""time_unix"":%t, ""proxy"":{""type:"":""%N"", ""port"":%p}, ""error"":{""code"":""%E""}, ""user"":""%U"", ""client"":{""ip"":""%C"", ""port"":%c}, ""server"":{""ip"":""%R"", ""port"":%r}, ""bytes"":{""sent"":%O, ""received"":%I}, ""hostname"":""%n"", ""message"":""%T""}"
log /dev/stdout
logformat "-\""+_G{""time_unix"":%t, ""proxy"":{""type:"":""%N"", ""port"":%p}, ""error"":{""code"":""%E""}, ""auth"":{""user"":""%U""}, ""client"":{""ip"":""%C"", ""port"":%c}, ""server"":{""ip"":""%R"", ""port"":%r}, ""bytes"":{""sent"":%O, ""received"":%I}, ""request"":{""hostname"":""%n""}, ""message"":""%T""}"

maxconn 1024

Expand Down

0 comments on commit e2d0628

Please sign in to comment.