You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sahoo (JIRA)" <ji...@apache.org> on 2010/10/13 21:53:32 UTC

[jira] Created: (FELIX-2655) allow event admin log level to be configurable

allow event admin log level to be configurable
----------------------------------------------

                 Key: FELIX-2655
                 URL: https://issues.apache.org/jira/browse/FELIX-2655
             Project: Felix
          Issue Type: Bug
          Components: Event Admin
            Reporter: Sahoo
             Fix For: eventadmin-1.2.4


Currently eventadmin bundle prints messages like these:

DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30

DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20

DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000

DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true

In my env, there is no LogService, so the messages appear in System.out. I don't see any way to disable them from being logged. Should we not make the log level configurable just like it is done in FileInstall?


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


[jira] Assigned: (FELIX-2655) allow event admin log level to be configurable

Posted by "Sahoo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sahoo reassigned FELIX-2655:
----------------------------

    Assignee: Sahoo

> allow event admin log level to be configurable
> ----------------------------------------------
>
>                 Key: FELIX-2655
>                 URL: https://issues.apache.org/jira/browse/FELIX-2655
>             Project: Felix
>          Issue Type: Bug
>          Components: Event Admin
>    Affects Versions: eventadmin-1.2.4
>            Reporter: Sahoo
>            Assignee: Sahoo
>             Fix For: eventadmin-1.2.8
>
>         Attachments: FELIX-2655-patch.txt
>
>
> Currently eventadmin bundle prints messages like these:
> DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
> DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
> In my env, there is no LogService, so the messages appear in System.out. I don't see any way to disable them from being logged. Should we not make the log level configurable just like it is done in FileInstall?

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


[jira] Updated: (FELIX-2655) allow event admin log level to be configurable

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated FELIX-2655:
------------------------------------

    Affects Version/s: eventadmin-1.2.4
        Fix Version/s:     (was: eventadmin-1.2.4)
                       eventadmin-1.2.8

> allow event admin log level to be configurable
> ----------------------------------------------
>
>                 Key: FELIX-2655
>                 URL: https://issues.apache.org/jira/browse/FELIX-2655
>             Project: Felix
>          Issue Type: Bug
>          Components: Event Admin
>    Affects Versions: eventadmin-1.2.4
>            Reporter: Sahoo
>             Fix For: eventadmin-1.2.8
>
>         Attachments: FELIX-2655-patch.txt
>
>
> Currently eventadmin bundle prints messages like these:
> DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
> DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
> In my env, there is no LogService, so the messages appear in System.out. I don't see any way to disable them from being logged. Should we not make the log level configurable just like it is done in FileInstall?

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


[jira] Commented: (FELIX-2655) allow event admin log level to be configurable

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920876#action_12920876 ] 

Carsten Ziegeler commented on FELIX-2655:
-----------------------------------------

The patch looks good to me

> allow event admin log level to be configurable
> ----------------------------------------------
>
>                 Key: FELIX-2655
>                 URL: https://issues.apache.org/jira/browse/FELIX-2655
>             Project: Felix
>          Issue Type: Bug
>          Components: Event Admin
>    Affects Versions: eventadmin-1.2.4
>            Reporter: Sahoo
>             Fix For: eventadmin-1.2.8
>
>         Attachments: FELIX-2655-patch.txt
>
>
> Currently eventadmin bundle prints messages like these:
> DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
> DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
> In my env, there is no LogService, so the messages appear in System.out. I don't see any way to disable them from being logged. Should we not make the log level configurable just like it is done in FileInstall?

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


[jira] Updated: (FELIX-2655) allow event admin log level to be configurable

Posted by "Sahoo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sahoo updated FELIX-2655:
-------------------------

    Attachment: FELIX-2655-patch.txt

Patch that addresses the issue. The change can be described as adding a configuration option to control the logger's log level and the default being LOG_WARNING.

> allow event admin log level to be configurable
> ----------------------------------------------
>
>                 Key: FELIX-2655
>                 URL: https://issues.apache.org/jira/browse/FELIX-2655
>             Project: Felix
>          Issue Type: Bug
>          Components: Event Admin
>            Reporter: Sahoo
>             Fix For: eventadmin-1.2.4
>
>         Attachments: FELIX-2655-patch.txt
>
>
> Currently eventadmin bundle prints messages like these:
> DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
> DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
> In my env, there is no LogService, so the messages appear in System.out. I don't see any way to disable them from being logged. Should we not make the log level configurable just like it is done in FileInstall?

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


[jira] Resolved: (FELIX-2655) allow event admin log level to be configurable

Posted by "Sahoo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sahoo resolved FELIX-2655.
--------------------------

    Resolution: Fixed

Committed the attached patch as revision 1022638.


> allow event admin log level to be configurable
> ----------------------------------------------
>
>                 Key: FELIX-2655
>                 URL: https://issues.apache.org/jira/browse/FELIX-2655
>             Project: Felix
>          Issue Type: Bug
>          Components: Event Admin
>    Affects Versions: eventadmin-1.2.4
>            Reporter: Sahoo
>            Assignee: Sahoo
>             Fix For: eventadmin-1.2.8
>
>         Attachments: FELIX-2655-patch.txt
>
>
> Currently eventadmin bundle prints messages like these:
> DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
> DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
> In my env, there is no LogService, so the messages appear in System.out. I don't see any way to disable them from being logged. Should we not make the log level configurable just like it is done in FileInstall?

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