Github user rgodfrey commented on the issue:

    https://github.com/apache/qpid-java/pull/1
  
    In essence this is true... though I left out some of the necessary detail
    :-)
    
    If you start Qpid from the command line it invokes the
    org.apache.qpid.server.Main class.  This processes command line and system
    properties, and then invokes the org.apache.qpid.server.SystemLauncher
    class - passing in a listener that (on startup) configures logback.
    
    To start the broker without logback you would want to create your own main
    class which invokes SystemLauncher directly, not installing the logback
    listener.
    
    Something like:
    
    Map<String,String> context = new HashMap<>();
    context.put("qpid.home_dir", <your qpid home directory>);
    
    Map<String,Object> attributes = new HashMap<>();
    attributes.put("context", context);
    attributes.put("type", "JSON");
    
    SystemLauncher systemLauncher = new SystemLauncher();
    systemLauncher.startup(attributes);
    
    
    would likely be the minimum setup.  You would want to edit your config.json
    to remove broker/virtualhost logger configuration.  With that the broker
    will just log to whatever slf4j implementation you have installed.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to