Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-6303

Logs are spammed with "Import by location/name" messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.1SDK
    • 3.2.0SDK
    • uimaj
    • None

    Description

      The CONFIG logging level of UIMA is mapped to the INFO level of SLF4J. This causes all kinds of configuration information to be logged at INFO level (e.g. components being initialized)... but it also causes all "Import by name/location" messages to be logged at info level. If you work with non-trivial type systems that import other type systems, this can very quickly become really annoying.

      I see this in the v3 branch mainly. Looking at the v2 branch, I can see that CONFIG is also mapped to INFO there for the log4j logger - no idea why it never annoyed me with v2. I don't remember having seen any such messages. Need to check...

      So there are two options:

      • map CONFIG to DEBUG
      • demote the "Import by..." messages from CONFIG to FINE (FINE == DEBUG)

      Attachments

        1. Screenshot 2021-02-24 at 16.17.41.png
          149 kB
          Richard Eckart de Castilho
        2. Screenshot 2021-02-24 at 16.05.51.png
          147 kB
          Richard Eckart de Castilho

        Issue Links

          Activity

            People

              rec Richard Eckart de Castilho
              rec Richard Eckart de Castilho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: