Richard Eckart de Castilho created UIMA-6303:
------------------------------------------------

             Summary: Logs are spammed with "Import by location/name" messages
                 Key: UIMA-6303
                 URL: https://issues.apache.org/jira/browse/UIMA-6303
             Project: UIMA
          Issue Type: Bug
          Components: uimaj
    Affects Versions: 3.1.1SDK
            Reporter: Richard Eckart de Castilho
            Assignee: Richard Eckart de Castilho
             Fix For: 3.2.0SDK


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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to