You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org> on 2006/12/01 15:37:23 UTC

[jira] Created: (QPID-147) Remove log4j.properties from BAU distribution

Remove log4j.properties from BAU distribution
---------------------------------------------

                 Key: QPID-147
                 URL: http://issues.apache.org/jira/browse/QPID-147
             Project: Qpid
          Issue Type: Improvement
          Components: Maven build system
            Reporter: Marnie McCormack
            Priority: Minor


Users have commented that having a log4.properties in the distributed jars is an issue since it can often cause havoc with their own logging. Should ship the log4.properties separately.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (QPID-147) Remove log4j.properties from BAU distribution

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Greig resolved QPID-147.
-------------------------------

    Resolution: Fixed

Committed svn revision 494800

> Remove log4j.properties from BAU distribution
> ---------------------------------------------
>
>                 Key: QPID-147
>                 URL: https://issues.apache.org/jira/browse/QPID-147
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Maven build system
>            Reporter: Marnie McCormack
>            Priority: Minor
>             Fix For: M2
>
>         Attachments: Qpid-147.diff
>
>
> Users have commented that having a log4.properties in the distributed jars is an issue since it can often cause havoc with their own logging. Should ship the log4.properties separately.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (QPID-147) Remove log4j.properties from BAU distribution

Posted by "Rupert Smith (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463538 ] 

Rupert Smith commented on QPID-147:
-----------------------------------

Yes, because on start up log4j loads log4j.properties by default. Even though the XMLDomConfigurator is called with a log4j.xml file that it appears to process, it does not replace the config already loaded from the .properties file.

I think, in general all log4j.properties files should be ditched and use xml configs instead to help avoid this sort of problem.

Here's a patch for the maven build to exclude the log4j.properties from the distribution jars.

> Remove log4j.properties from BAU distribution
> ---------------------------------------------
>
>                 Key: QPID-147
>                 URL: https://issues.apache.org/jira/browse/QPID-147
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Maven build system
>            Reporter: Marnie McCormack
>            Priority: Minor
>             Fix For: M2
>
>         Attachments: Qpid-147.diff
>
>
> Users have commented that having a log4.properties in the distributed jars is an issue since it can often cause havoc with their own logging. Should ship the log4.properties separately.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-147) Remove log4j.properties from BAU distribution

Posted by "Rupert Smith (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Smith updated QPID-147:
------------------------------

    Attachment: Qpid-147.diff

> Remove log4j.properties from BAU distribution
> ---------------------------------------------
>
>                 Key: QPID-147
>                 URL: https://issues.apache.org/jira/browse/QPID-147
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Maven build system
>            Reporter: Marnie McCormack
>            Priority: Minor
>             Fix For: M2
>
>         Attachments: Qpid-147.diff
>
>
> Users have commented that having a log4.properties in the distributed jars is an issue since it can often cause havoc with their own logging. Should ship the log4.properties separately.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-147) Remove log4j.properties from BAU distribution

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-147?page=all ]

Marnie McCormack updated QPID-147:
----------------------------------

    Fix Version/s: M2

> Remove log4j.properties from BAU distribution
> ---------------------------------------------
>
>                 Key: QPID-147
>                 URL: http://issues.apache.org/jira/browse/QPID-147
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Maven build system
>            Reporter: Marnie McCormack
>            Priority: Minor
>             Fix For: M2
>
>
> Users have commented that having a log4.properties in the distributed jars is an issue since it can often cause havoc with their own logging. Should ship the log4.properties separately.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira