[
https://issues.apache.org/jira/browse/QPID-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rudyy resolved QPID-4655.
------------------------------
Resolution: Fixed
The changes look good for me. Changing JIRA to resolved state.
The only thing I am wondering whether it makes sense to set flag for skipping
log configuration to 'true' by default? So, anyone embedding the broker would
not need to set it explicitly. However, I do not have strong opinion about it.
What do you think Robbie?
> [Java Broker] add BrokerOptions support to request the Broker not perform
> log4j logging configuration when it is being run embedded
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-4655
> URL: https://issues.apache.org/jira/browse/QPID-4655
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Robbie Gemmell
> Assignee: Alex Rudyy
> Fix For: 0.21
>
>
> The broker configures Log4J at startup due to its heritage of running in a
> standalone VM. We have made the broker easier to run embedded in recent
> times, but it still always configures Log4J at startup. It was requested that
> we enable preventing it from doing this so the embedding application can
> configure things itself.
> Support will be added to the BrokerOptions object to allow requesting the
> Broker instance not perform log4j logging configuration when it is being run
> embedded. This will also prevent the brokers LoggingManagement MBean from
> being initialised, as it is dependant on the logging configuration perfomed
> by the broker and it also has direct support for managing the Log4j
> configuration file which may not exist in this case.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]