You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Porter (JIRA)" <ji...@apache.org> on 2010/02/01 16:22:15 UTC

[jira] Created: (FELIX-2026) Remove org.ops4j.pax.logging.DefaultServiceLog.level from system.properties

Remove org.ops4j.pax.logging.DefaultServiceLog.level from system.properties
---------------------------------------------------------------------------

                 Key: FELIX-2026
                 URL: https://issues.apache.org/jira/browse/FELIX-2026
             Project: Felix
          Issue Type: Bug
          Components: Karaf
    Affects Versions: karaf-1.2.0
            Reporter: David Porter


The system.properties file contains an org.ops4j.pax.logging.DefaultServiceLog.level property that is set to ERROR by default.

Do a log:get from the karaf console to confirm that this property is not used.

The logging level is set by the og4j.rootLogger property in etc/org.ops4j.pax.logging.cfg (INFO by default).

We should remove the system property as it is potentially confusing.

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


[jira] Commented: (FELIX-2026) Remove org.ops4j.pax.logging.DefaultServiceLog.level from system.properties

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829528#action_12829528 ] 

Guillaume Nodet commented on FELIX-2026:
----------------------------------------

I don't think we should remove this proeprty, but rather add a comment to its purpose.
This property does not control the standard logging level, but only the log level very early in the booting process when the pax-logging service it not available yet.
The default value is DEBUG which mean that without this value, some statements will be printed to the console instead of being logged. I think that was the case some time ago and we specifically added this property to remove those annoying statements.

> Remove org.ops4j.pax.logging.DefaultServiceLog.level from system.properties
> ---------------------------------------------------------------------------
>
>                 Key: FELIX-2026
>                 URL: https://issues.apache.org/jira/browse/FELIX-2026
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.2.0
>            Reporter: David Porter
>
> The system.properties file contains an org.ops4j.pax.logging.DefaultServiceLog.level property that is set to ERROR by default.
> Do a log:get from the karaf console to confirm that this property is not used.
> The logging level is set by the og4j.rootLogger property in etc/org.ops4j.pax.logging.cfg (INFO by default).
> We should remove the system property as it is potentially confusing.

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


[jira] Resolved: (FELIX-2026) Remove org.ops4j.pax.logging.DefaultServiceLog.level from system.properties

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

Guillaume Nodet resolved FELIX-2026.
------------------------------------

       Resolution: Won't Fix
    Fix Version/s: karaf-1.4.0
         Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	karaf/assembly/src/main/distribution/text/etc/system.properties
Committed r906400

I've documented the system properties config file.
Please reopen the issue if needed.

> Remove org.ops4j.pax.logging.DefaultServiceLog.level from system.properties
> ---------------------------------------------------------------------------
>
>                 Key: FELIX-2026
>                 URL: https://issues.apache.org/jira/browse/FELIX-2026
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.2.0
>            Reporter: David Porter
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.4.0
>
>
> The system.properties file contains an org.ops4j.pax.logging.DefaultServiceLog.level property that is set to ERROR by default.
> Do a log:get from the karaf console to confirm that this property is not used.
> The logging level is set by the og4j.rootLogger property in etc/org.ops4j.pax.logging.cfg (INFO by default).
> We should remove the system property as it is potentially confusing.

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