mercurial/hgweb/server.py
changeset 30264 dd3dd80fca10
parent 30082 ebc03e64548a
child 30639 d524c88511a7
--- a/mercurial/hgweb/server.py	Mon Feb 29 13:41:54 2016 +0900
+++ b/mercurial/hgweb/server.py	Sat Jun 28 13:13:32 2014 +0900
@@ -281,8 +281,8 @@
             prefix = '/' + prefix.strip('/')
         self.prefix = prefix
 
-        alog = openlog(ui.config('web', 'accesslog', '-'), sys.stdout)
-        elog = openlog(ui.config('web', 'errorlog', '-'), sys.stderr)
+        alog = openlog(ui.config('web', 'accesslog', '-'), ui.fout)
+        elog = openlog(ui.config('web', 'errorlog', '-'), ui.ferr)
         self.accesslog = alog
         self.errorlog = elog