Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2321

Catalina.load() overides Log4JService's control of the System.err and System.out output streams

XMLWordPrintable

      In org.apache.catalina.startup.Catalina.load()

      // Replace System.out and System.err with a custom PrintStream
      // TODO: move to Embedded, make it configurable
      SystemLogHandler systemlog = new SystemLogHandler(System.out);
      System.setOut(systemlog);
      System.setErr(systemlog);

      As the TODO suggests this need to be configurable so jbossweb-tomcatXX.sar can turn it off for Tomcat embedded in JBoss AS where System.err and System.out are controlled by Log4JService.

              rmaucher Remy Maucherat
              jimm_jira jimm (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: