[
https://issues.apache.org/jira/browse/UIMA-6303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Eckart de Castilho resolved UIMA-6303.
----------------------------------------------
Resolution: Fixed
> 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
> Priority: Major
> Fix For: 3.2.0SDK
>
> Attachments: Screenshot 2021-02-24 at 16.05.51.png, Screenshot
> 2021-02-24 at 16.17.41.png
>
>
> 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)