Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-82461

Unable to set ALL/OFF level for java.util.logging from System Administration

    Details

    • Fix Priority:
      2

      Description

      com.liferay.petra.log4j.Log4JUtil#_getJdkLevel is able to recognize only following levels:

      • DEBUG -> java.util.logging.Level.FINE
      • WARN -> java.util.logging.Level.WARNING
      • ERROR -> java.util.logging.Level.SEVERE
      • otherwise -> java.util.logging.Level.INFO

      Setting ALL / TRACE / FATAL and OFF falls into java.util.logging.Level.INFO

      https://github.com/liferay/liferay-portal/blob/a7d01e03127bd1dcd09abe64c80462bb0a0796a1/modules/apps/petra/petra-log4j/src/main/java/com/liferay/petra/log4j/Log4JUtil.java#L243-L255

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              tomas.polesovsky Tomáš Polešovský
              Participants of an Issue:
              Recent user:
              Koor Gai
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                3 years, 49 weeks ago

                  Packages

                  Version Package