Commits

Robert Brewer  committed c102817

Fix for #866 (Error *and* access log printed to stderr).

  • Participants
  • Parent commits 3d60745

Comments (0)

Files changed (1)

File cherrypy/_cplogging.py

     
     def _set_screen(self, newvalue):
         self._set_screen_handler(self.error_log, newvalue, stream=sys.stderr)
-        self._set_screen_handler(self.access_log, newvalue)
+        self._set_screen_handler(self.access_log, newvalue, stream=sys.stdout)
     screen = property(_get_screen, _set_screen,
                       doc="If True, error and access will print to stderr.")