mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
add accesslog example
This commit is contained in:
parent
64e3ddab0a
commit
3acf75338f
@ -154,6 +154,7 @@ tmp_upload_dir = None
|
|||||||
|
|
||||||
logfile = '-'
|
logfile = '-'
|
||||||
loglevel = 'info'
|
loglevel = 'info'
|
||||||
|
accesslog = '-'
|
||||||
|
|
||||||
#
|
#
|
||||||
# Process naming
|
# Process naming
|
||||||
@ -196,3 +197,6 @@ def pre_fork(server, worker):
|
|||||||
|
|
||||||
def pre_exec(server):
|
def pre_exec(server):
|
||||||
server.log.info("Forked child, re-executing.")
|
server.log.info("Forked child, re-executing.")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user