[ 
https://issues.apache.org/jira/browse/UIMA-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657170#action_12657170
 ] 

Marshall Schor commented on UIMA-1250:
--------------------------------------

After some investigation - it looks quite involved to change the ASB stuff.  It 
is doing some amount of extra work, so a future cleanup might do something here.

To address the immediate issue of logging in the framework, many other places 
in the framework use 
{{UIMAFramework.getLogger(CLASS_NAME).log...}} in preference to
{{getLogger().log...}} which gets the logger from the current UIMA context.

I'll fix the framework to make the logger for internal framework items to use 
the first form.

> Some initialization messages may not appear as the Logger object changes 
> during initialization
> ----------------------------------------------------------------------------------------------
>
>                 Key: UIMA-1250
>                 URL: https://issues.apache.org/jira/browse/UIMA-1250
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.2.2
>            Reporter: Burn Lewis
>            Priority: Minor
>
> In the initialize method in AggregateAnalysisEngine_impl the logger object 
> returned by the local getLogger() method changes ... for the init_begin msg 
> it is correct, but after initASB has been called when the init_successful msg 
> is logged the logger object is the one for the ASB_impl class.  All 3 
> implementations of AnalysisEngine use the getLogger() method in 
> Resource_ImplBase which gets it from its local UimaContext ... but this is 
> changed during initialization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to