# HG changeset patch # User Boris Feld # Date 1498787131 -7200 # Node ID ac96ff471c9a8b54d85748e7fb9286ee4c62830c # Parent cf08aaaea7f0ded9f43747e4865eae974ee837cc configitems: register the 'web.accesslog' config diff -r cf08aaaea7f0 -r ac96ff471c9a mercurial/configitems.py --- a/mercurial/configitems.py Fri Sep 15 19:21:08 2017 +0200 +++ b/mercurial/configitems.py Fri Jun 30 03:45:31 2017 +0200 @@ -582,6 +582,9 @@ coreconfigitem('verify', 'skipflags', default=None, ) +coreconfigitem('web', 'accesslog', + default='-', +) coreconfigitem('worker', 'backgroundclose', default=dynamicdefault, ) diff -r cf08aaaea7f0 -r ac96ff471c9a mercurial/hgweb/server.py --- a/mercurial/hgweb/server.py Fri Sep 15 19:21:08 2017 +0200 +++ b/mercurial/hgweb/server.py Fri Jun 30 03:45:31 2017 +0200 @@ -282,7 +282,7 @@ prefix = '/' + prefix.strip('/') self.prefix = prefix - alog = openlog(ui.config('web', 'accesslog', '-'), ui.fout) + alog = openlog(ui.config('web', 'accesslog'), ui.fout) elog = openlog(ui.config('web', 'errorlog', '-'), ui.ferr) self.accesslog = alog self.errorlog = elog