karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-986) Synchronisation issue when rootLogger is DEBUG and Karaf is started afresh
Date Thu, 10 Nov 2011 22:29:51 GMT

    [ https://issues.apache.org/jira/browse/KARAF-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148058#comment-13148058

Jean-Baptiste Onofré commented on KARAF-986:

Are you sure that you use Karaf 2.2.4 ?
Could you check your Pax Logging version in use ?

> Synchronisation issue when rootLogger is DEBUG and Karaf is started afresh
> --------------------------------------------------------------------------
>                 Key: KARAF-986
>                 URL: https://issues.apache.org/jira/browse/KARAF-986
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Raul Kripalani
> When working in development mode, you will many times set your rootLogger's level to
> If you delete the $KARAF_HOME/data dir and start afresh while your rootLogger remains
on DEBUG, Karaf will likely block during bundle startup if you have large number of boot features
(e.g. ServiceMix) defined in the {{featuresBoot}} property under {{org.apache.karaf.features.cfg}}.

> Changing the log level back to INFO avoids the issue.
> Looks like it only happens if a large number of threads is emitting log statements simultaneously,
as seen in [1] & [2]. Thread dump looks exactly the same as the one submitted in [1].
> Not sure if there's much we can do on the Karaf side of things, but I guess it's worth
> [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=50213
> [2] https://issues.apache.org/bugzilla/show_bug.cgi?id=51047

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message