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.hamil...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to