[
https://issues.apache.org/jira/browse/QPID-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13606647#comment-13606647
]
Robbie Gemmell commented on QPID-4655:
--------------------------------------
I did think about that but in the end decided leaving it the way it was by
default would be better since it is probably going to annoy less people. Only
one person has actually asked for this change, but we know a lot more people
are already using it the way it was. Doing it this way, anyone that want the
change in behaviour can request it and everyone else continues getting what
they already did.
> [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]