Uploaded image for project: 'Pax Logging'
  1. PAXLOGGING-249

JUL loggers are not properly configured if used before calling PaxLoggingServiceImpl#setJULLevel

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:

      Description

      I have clio.feature.all = true in etc/java.util.logging.properties (according to https://docs.oracle.com/en/database/oracle/oracle-database/12.2/jjdbc/JDBC-diagnosability.html#GUID-A6A33BF7-D1E3-4631-96B6-6F85C8891BDA) and this in etc/org.ops4j.pax.logging.cfg:

      log4j2.logger.oracle.name = oracle
      log4j2.logger.oracle.level = TRACE
      

      After Karaf starts, I run Oracle SQL statements without tracing. Only after etc/org.ops4j.pax.logging.cfg is updated, logger levels are updated.

        Attachments

          Activity

            People

            • Assignee:
              ggrzybek Grzegorz Grzybek
              Reporter:
              ggrzybek Grzegorz Grzybek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: