Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2662

Logging level Global Property not used

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      When you change the "log.level.openmrs" global property the logging level doesn't actually change in the service layer. I think this is due to the LoggingAdvice class looking for "org.openmrs.api" but the default class that is being logged is just "org.openmrs".

      This GP should actually be smarter and allow the user to decide what class to set the logging level of and what to set it to.

      I propose a solution of "org.openmrs:info,org.openmrs.api:warn"

      Initial work was in TRUNK-1463 to add the global property

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  bwolfe Ben Wolfe
                  Reporter:
                  bwolfe Ben Wolfe
                  Watchers:
                  Ben Wolfe, Daniel Kayiwa, Jeremy Keiper
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: