Mercurial > hg
diff mercurial/hgweb/server.py @ 34227:ac96ff471c9a
configitems: register the 'web.accesslog' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:45:31 +0200 |
parents | d524c88511a7 |
children | af4f0c74f8b5 |
line wrap: on
line diff
--- 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