[ 
https://issues.apache.org/jira/browse/QPID-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259588#comment-13259588
 ] 

Ted Ross commented on QPID-3510:
--------------------------------

Some notes on this issue:

The issue of not being able to configure logging from the client configuration 
file remains a problem for which there is no easy solution.  The reason for 
this is that the cluster module dynamically loads the client library at run 
time in order to set up an update-peer relationship between cluster nodes.  
When this occurs, the client and broker log configurations can conflict with 
each other.

Since the client can be loaded by the broker, it is necessary to have separate 
configuration file options for broker and client configurations.  Using the 
same option "config", leads to conflicts and ambiguities in configuration 
loading.

The solution is to leave "config" (QPID_CONFIG) as the broker configuration 
file option and to add "client-config" (QPID_CLIENT_CONFIG) as the client 
configuration file option (for both pure-client operation and client-in-broker 
operation).

Allowing log configuration to be configured for pure client operation in the 
client configuration file will remain un-solved for now.

                
> Holes in C++ client configuration
> ---------------------------------
>
>                 Key: QPID-3510
>                 URL: https://issues.apache.org/jira/browse/QPID-3510
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: 0.12
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>
> Configuration of the C++ (and wrapped) clients suffers from the following 
> limitations:
> 1) Logging cannot be configured from the client configuration file.  The log 
> module is only configurable via environment variables.
> 2) Client configuration cannot be loaded from an alternative configuration 
> file.  The configuration file defined in the build is the only file that can 
> be loaded for any application using the C++ client libraries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]

Reply via email to