Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4428

Expand default loggers configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.31.0
    • None
    • None

    Description

      Some default loggers are defined using the compact configuration introduced in log4j 2.17.2, see https://logging.apache.org/log4j/2.x/manual/configuration.html#configuration-with-properties

      rootLogger = INFO, console, log_file
      logger.audit_base = OFF, audit_log_file
      logger.audit_resource = OFF, audit_log_file
      logger.audit_message = OFF, audit_log_file
      

      Expanding default loggers could improve readability, i.e.

      rootLogger.level = OFF
      rootLogger.appenderRef.console.ref = console
      rootLogger.appenderRef.log_file.ref = log_file
      
      logger.audit_base.level = OFF
      logger.audit_base.appenderRef.audit_log_file.ref = audit_log_file
      
      logger.audit_resource.level = OFF
      logger.audit_resource.appenderRef.audit_log_file.ref = audit_log_file
      
      logger.audit_message.level = OFF
      logger.audit_message.appenderRef.audit_log_file.ref = audit_log_file
      

      Attachments

        Activity

          People

            brusdev Domenico Francesco Bruscino
            brusdev Domenico Francesco Bruscino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h