Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2729

Provide a way to set the logging level on smartrouter image

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.9.0.GA
    • 7.6.0.GA
    • Cloud
    • None
    • 2020 Week 25-27 (from Jun 15), 2020 Week 28-30 (from Jul 6), 2020 Week 31-33 (from Jul 27), 2020 Week 34-36 (from Aug 17)

    Description

      Today, there is no easy way to configure logging level on smartrouter image.
      Would be good if we have the option to just set an env like LOG_LEVEL=debug

      and the image is correctly configured, the logging.properties file needs t be created and the system property added:

      -Djava.util.logging.config.file=/etc/logging/logging.properties
      

      Today it can be done by creating a config map, example:

      handlers= java.util.logging.ConsoleHandler
      .level= ALL
      java.util.logging.ConsoleHandler.level= DEBUG
      java.util.logging.ConsoleHandler.formatter= java.util.logging.SimpleFormatter
      org.kie = TRACE
      

      And set the JAVA_OPTS env adding the config-map location., e.g.

      -Djava.util.logging.config.file=/etc/logging/logging.properties
      

      Attachments

        Issue Links

          Activity

            People

              mdessi-1 Massimiliano Dessi
              rhn-support-fspolti Filippe Spolti
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: