DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33606>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33606

           Summary: System.err and System.out point to the same Stream
           Product: Tomcat 5
           Version: 5.5.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


When Tomcat starts up, both System.out and System.err are redirected to the
same PrintStream, an instance of o.a.tomcat.util.log.SystemLogHandler, which
itself wraps System.out
This happens quite early in o.a.c.startup.Catalina.load()
>From then onwards no distinguish can be made between System.out.print()'s and
System.err.print()'s. The original 'System'-Error-Stream is lost.

Specifically when starting Tomcat within Eclipse (while developing/debugging a
Web-App), then the nice 'red' printed error-Stream instead of the 'blue' printed
stdout-stream is useless.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to