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 7374] New: - Apache Tomcat/4.0.1 message on standard output
Date Fri, 22 Mar 2002 21:29:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7374>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7374

Apache Tomcat/4.0.1 message on standard output

           Summary: Apache Tomcat/4.0.1 message on standard output
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: birsan@ca.ibm.com


The Apache Tomcat/<version number> is unnecessarily printed on the standard 
output stream. Can this be logged somewhere or simply not printed at all?
We are using Tomcat as an embedded app server (via the Embedded class) and it 
would nice if there was nothing displayed on the standard output.
An alternative is to make the Globals.SERVER_INFO not a final field, so I can 
set it to nothing.

The code is in StandardEngine.java.

    /**
     * Start this Engine component.
     *
     * @exception LifecycleException if a startup error occurs
     */
    public void start() throws LifecycleException {

        // Log our server identification information
        System.out.println(Globals.SERVER_INFO);

        // Standard container startup
        super.start();

    }

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


Mime
View raw message