Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1650

Managed container bypasses tomcat jul setup

XMLWordPrintable

      This code from the catalina startup script is not done in the manged deployable container

      # Set juli LogManager config file if it is present and an override has not been issued
      if [ -z "$LOGGING_CONFIG" ]; then
        if [ -r "$CATALINA_BASE"/conf/logging.properties ]; then
          LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties"
        else
          # Bugzilla 45585
          LOGGING_CONFIG="-Dnop"
        fi
      fi
      
      if [ -z "$LOGGING_MANAGER" ]; then
        LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
      fi
      

      As a result, tomcat logging does not work

            tdiesler@redhat.com Thomas Diesler
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: