##// END OF EJS Templates
configitems: register the 'web.accesslog' config
Boris Feld -
r34224:ac96ff47 default
parent child Browse files
Show More
@@ -582,6 +582,9 coreconfigitem('ui', 'verbose',
582 582 coreconfigitem('verify', 'skipflags',
583 583 default=None,
584 584 )
585 coreconfigitem('web', 'accesslog',
586 default='-',
587 )
585 588 coreconfigitem('worker', 'backgroundclose',
586 589 default=dynamicdefault,
587 590 )
@@ -282,7 +282,7 class MercurialHTTPServer(_mixin, httpse
282 282 prefix = '/' + prefix.strip('/')
283 283 self.prefix = prefix
284 284
285 alog = openlog(ui.config('web', 'accesslog', '-'), ui.fout)
285 alog = openlog(ui.config('web', 'accesslog'), ui.fout)
286 286 elog = openlog(ui.config('web', 'errorlog', '-'), ui.ferr)
287 287 self.accesslog = alog
288 288 self.errorlog = elog
General Comments 0
You need to be logged in to leave comments. Login now