tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49804] New: Allow Embedded.redirectStreams value to be configurable via System.property
Date Mon, 23 Aug 2010 11:56:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49804

           Summary: Allow Embedded.redirectStreams value to be
                    configurable via System.property
           Product: Tomcat 6
           Version: 6.0.29
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: scott.hamilton@plateau.com


Created an attachment (id=25929)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25929)
Patch to Embedded.java

When developing applications in an IDE such as Eclipse and debugging them on
Tomcat, Tomcat will redirect the stdout/stderr streams to the SystemLogHandler
by default.  When this happens, the IDE can't distinguish between stdout and
stderr output and give stderr a nice red color in the console, which is helpful
for distinguishing between real errors and debug messages.

The attached patch allows this default value of true to be overridden with a
system property, and leaves the current functionality (default=true) unchanged.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message