Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-742

[ASF BZ 61232] When rotation log disabled file catalina..log generated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JWS 5.0_RHEL DR1
    • JWS 3.1.0 SP1 DR1
    • rpm, tomcat
    • None
    • Hide

      Hacky workaround if it's really a big problem Add the following the the logging.properties so that it uses 'log' instead of the default ('.log') suffix:

      1catalina.org.apache.juli.AsyncFileHandler.suffix = log
      
      Show
      Hacky workaround if it's really a big problem Add the following the the logging.properties so that it uses 'log' instead of the default ('.log') suffix: 1catalina.org.apache.juli.AsyncFileHandler.suffix = log
    • Hide

      1) Install tomcat zip
      2) Disable rotation of the log file in JULI

      $ echo "1catalina.org.apache.juli.AsyncFileHandler.rotatable = false" >> conf/logging.properties
      

      3) Start tomcat

      $ bin/startup.sh
      

      4) Check the logs directory for catalina log with double '.'s:

      $ ll logs/catalina.*log
      -rw-r-----. 1 coty coty 7796 Jun 28 13:58 logs/catalina..log
      
      Show
      1) Install tomcat zip 2) Disable rotation of the log file in JULI $ echo "1catalina.org.apache.juli.AsyncFileHandler.rotatable = false" >> conf/logging.properties 3) Start tomcat $ bin/startup.sh 4) Check the logs directory for catalina log with double '.'s: $ ll logs/catalina.*log -rw-r-----. 1 coty coty 7796 Jun 28 13:58 logs/catalina..log

      The generated file should be catalina.log instead of catalina..log

      This is not regression against 3.1.0.GA.

      This is part of the issue, what should be alredy fixed: https://issues.jboss.org/browse/JWS-84

            rhn-support-csutherl Coty Sutherland
            jstefl@redhat.com Jan Štefl
            Jan Onderka Jan Onderka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: