You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2009/10/12 16:37:31 UTC
[jira] Commented: (QPID-2085) Broker Log4j configuration causes the
specified log4j to be cleared on startup
[ https://issues.apache.org/jira/browse/QPID-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764698#action_12764698 ]
Martin Ritchie commented on QPID-2085:
--------------------------------------
Reason for change is that during an automated test runs with an external broker the broker will overwrite its previous configuration as the APPEND value is set to false.
As this change will configure the Qpid broker default to create an unbounded log file. An alternative would be change the default appender to be the QpidRollingFileAppender which is defined within the log4j configuration file.
To maintain compatibility with other tools that may be configured to monitor the log file then the StaticLogFileName value should be set to 'true' this will ensure that the log file written to will be a static value e.g. qpid.log.
When the file is rolled over it will be moved and dated as per the configuration. e.g. qpid.log.2009-10-12-15-32.gz
> Broker Log4j configuration causes the specified log4j to be cleared on startup
> ------------------------------------------------------------------------------
>
> Key: QPID-2085
> URL: https://issues.apache.org/jira/browse/QPID-2085
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Reporter: Martin Ritchie
> Assignee: Martin Ritchie
> Fix For: 0.6
>
>
> Set the default log4j.xml file for the broker to append to the existing log file rather than overwritting it.
> Provide an easy mechanism to change the default rather than editing the log4j file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org