You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org> on 2007/09/03 19:22:58 UTC

[jira] Created: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Cas Editor: Annotator Runner should show log output of the AE
-------------------------------------------------------------

                 Key: UIMA-557
                 URL: https://issues.apache.org/jira/browse/UIMA-557
             Project: UIMA
          Issue Type: Improvement
          Components: Sandbox
            Reporter: Jörn Kottmann
            Assignee: Jörn Kottmann
            Priority: Minor




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


[jira] Commented: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540273 ] 

Jörn Kottmann commented on UIMA-557:
------------------------------------

To caputure the log messages a log handler with the name of the implementing class of the AE has
to registerd.

Whats the suggested way to retrieve the name of the implementing class or names
of the implementing classes in the case of an AAE ?

> Cas Editor: Annotator Runner should show log output of the AE
> -------------------------------------------------------------
>
>                 Key: UIMA-557
>                 URL: https://issues.apache.org/jira/browse/UIMA-557
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>


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


[jira] Updated: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann updated UIMA-557:
-------------------------------

    Fix Version/s:     (was: 2.2.2S)

> Cas Editor: Annotator Runner should show log output of the AE
> -------------------------------------------------------------
>
>                 Key: UIMA-557
>                 URL: https://issues.apache.org/jira/browse/UIMA-557
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-CasEditor
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>


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


[jira] Commented: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540377 ] 

Jörn Kottmann commented on UIMA-557:
------------------------------------

In the Cas Editor its possible to run an AE. Currently there is a dialog wich tells the user to wait until the AE has finished.
But now the log output of the running AE should be displayed to the user in this dialog. In order to do this the log
messages from the AE must be captured. How can this be done ?

> Cas Editor: Annotator Runner should show log output of the AE
> -------------------------------------------------------------
>
>                 Key: UIMA-557
>                 URL: https://issues.apache.org/jira/browse/UIMA-557
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>


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


[jira] Commented: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540392 ] 

Michael Baessler commented on UIMA-557:
---------------------------------------

The class name is available in the primitive descriptor of the AE. So you can use UIMA APIs to get all primitives from the aggregate AE to get all primitive class names.

But note! If you use this you will have to use directly the Java logging APIs to manipulate the logging output. This works only as long as UIMA is configured to use the Java logging.

> Cas Editor: Annotator Runner should show log output of the AE
> -------------------------------------------------------------
>
>                 Key: UIMA-557
>                 URL: https://issues.apache.org/jira/browse/UIMA-557
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>


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


[jira] Updated: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Baessler updated UIMA-557:
----------------------------------

    Component/s:     (was: Sandbox)
                 Sandbox-CasEditor

> Cas Editor: Annotator Runner should show log output of the AE
> -------------------------------------------------------------
>
>                 Key: UIMA-557
>                 URL: https://issues.apache.org/jira/browse/UIMA-557
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-CasEditor
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>


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


[jira] Commented: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540374 ] 

Michael Baessler commented on UIMA-557:
---------------------------------------

Sorry I don't understand your question in detail.

If an AE is instantiated by the UIMA framework, the logger for this AE in created automatically using the main AE class that implements the UIMA framework interfaces. In case of an AAE you instantiate for each primitive an own logger. Since the AAE has no implementation class there is no special logger for this AAE necessary. 

Does this information help you?

> Cas Editor: Annotator Runner should show log output of the AE
> -------------------------------------------------------------
>
>                 Key: UIMA-557
>                 URL: https://issues.apache.org/jira/browse/UIMA-557
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>


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


[jira] Commented: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540389 ] 

Michael Baessler commented on UIMA-557:
---------------------------------------

Unfortunately this is not possible. The UIMA framework has an own logger interface that wraps the used logging implementation. So the UIMA framework is independent of the logging implementation and can you different providers e.g. Log4j, Java logging, .... Since we have defined an own logging interface, we have no APIs that can change the log handlers for a specific logger.

Maybe we can think about this and extend our interface, but currently I'm not sure if we find a way that works fine with different logging implementations.



> Cas Editor: Annotator Runner should show log output of the AE
> -------------------------------------------------------------
>
>                 Key: UIMA-557
>                 URL: https://issues.apache.org/jira/browse/UIMA-557
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>


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


[jira] Updated: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann updated UIMA-557:
-------------------------------

    Affects Version/s: 2.3

defer past 2.3.0

> Cas Editor: Annotator Runner should show log output of the AE
> -------------------------------------------------------------
>
>                 Key: UIMA-557
>                 URL: https://issues.apache.org/jira/browse/UIMA-557
>             Project: UIMA
>          Issue Type: Improvement
>          Components: CasEditor
>    Affects Versions: 2.3
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>


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


[jira] Commented: (UIMA-557) Cas Editor: Annotator Runner should show log output of the AE

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540390 ] 

Jörn Kottmann commented on UIMA-557:
------------------------------------

My idea was to intercept the log messages with a java.util.logging.Handler. If I got it right the uima logging uses the class name of the implementing class as logger name. To register the Handler I need the logger name which is the same as the class name.
It is possible to get the class name or a list of class names in the cases of an AAE ?

> Cas Editor: Annotator Runner should show log output of the AE
> -------------------------------------------------------------
>
>                 Key: UIMA-557
>                 URL: https://issues.apache.org/jira/browse/UIMA-557
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>


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