--- 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,
)
--- 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