Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-110

logback not logging using config of ancestors in oc4j (also not rollingover)

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • None
    • logback-core
    • Oracle oc4j 10.1.3.4, 10.1.3.5

    Description

      using the same configuration logback logs on tomcat 6, but its not logging on oc5j 10.3.5
      i have a configuration like this in logback.xml
      ..
      <appender name="DAILY" class="ch.qos.logback.core.rolling.RollingFileAppender">
      <file>file.log</file> <!-- scos pt ca nu face rollover -->

      <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <!-- daily rollover -->
      <fileNamePattern>bcr-ovd.%d

      {yyyyMMdd}

      .log</fileNamePattern>
      </rollingPolicy>
      <encoder>
      <pattern>%-5p [%d

      {HH:mm:ss.SSS}

      ] %c

      {0}

      %X

      {user}

      - %m%n</pattern>
      </encoder>
      </appender>
      ..
      <logger name="java.sql" level="info" />
      <logger name="ro.x" value="info" />
      ..
      <root level="warn">
      <appender-ref ref="DAILY" />
      </root>
      ..

      and i have a class ro.x.product.action.LogonAction like this:

      LOGGER.info("version: " + PrivateConstants.getInstance().getVersion());

      and BaseAction is : ro.x.product.action.BaseAction, declaring the logger for all actions

      public static final Logger LOGGER = LoggerFactory.getLogger(BaseAction.class);

      this line and many more i dont see in oc4j for some reason, but they are logged in tomcat 6...

      what is going on?

      Attachments

        Activity

          People

            logback-dev Logback dev list
            icstreispe Mihai S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: