##// END OF EJS Templates
configitems: register the 'web.errorlog' config
Boris Feld -
r34237:c97a750c default
parent child Browse files
Show More
@@ -622,6 +622,9 b" coreconfigitem('web', 'description',"
622 coreconfigitem('web', 'encoding',
622 coreconfigitem('web', 'encoding',
623 default=lambda: encoding.encoding,
623 default=lambda: encoding.encoding,
624 )
624 )
625 coreconfigitem('web', 'errorlog',
626 default='-',
627 )
625 coreconfigitem('worker', 'backgroundclose',
628 coreconfigitem('worker', 'backgroundclose',
626 default=dynamicdefault,
629 default=dynamicdefault,
627 )
630 )
@@ -283,7 +283,7 b' class MercurialHTTPServer(_mixin, httpse'
283 self.prefix = prefix
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 elog = openlog(ui.config('web', 'errorlog', '-'), ui.ferr)
286 elog = openlog(ui.config('web', 'errorlog'), ui.ferr)
287 self.accesslog = alog
287 self.accesslog = alog
288 self.errorlog = elog
288 self.errorlog = elog
289
289
General Comments 0
You need to be logged in to leave comments. Login now