##// END OF EJS Templates
hgweb: make log streams compatible with command server...
Yuya Nishihara -
r30264:dd3dd80f default
parent child Browse files
Show More
@@ -281,8 +281,8 b' class MercurialHTTPServer(_mixin, httpse'
281 prefix = '/' + prefix.strip('/')
281 prefix = '/' + prefix.strip('/')
282 self.prefix = prefix
282 self.prefix = prefix
283
283
284 alog = openlog(ui.config('web', 'accesslog', '-'), sys.stdout)
284 alog = openlog(ui.config('web', 'accesslog', '-'), ui.fout)
285 elog = openlog(ui.config('web', 'errorlog', '-'), sys.stderr)
285 elog = openlog(ui.config('web', 'errorlog', '-'), ui.ferr)
286 self.accesslog = alog
286 self.accesslog = alog
287 self.errorlog = elog
287 self.errorlog = elog
288
288
General Comments 0
You need to be logged in to leave comments. Login now