Skip to content

Conversation

@tongsucn
Copy link
Contributor

Fixes #7502

The compilation problem described in #7502 is resolved.

@merlimat merlimat added this to the 2.7.0 milestone Jul 10, 2020
@merlimat merlimat merged commit bd44a2b into apache:master Jul 11, 2020
requestIdGenerator_(0),
closingError(ResultOk) {
std::unique_ptr<LoggerFactory> loggerFactory = clientConfiguration_.impl_->takeLogger();
if (!logger) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks all custom logging implementations. loggerFactory is now set to either SimpleLoggerFactory or Log4CxxLoggerFactory even if client configuration sets one.

jiazhai pushed a commit that referenced this pull request Sep 10, 2020
#7932)

### Motivation

I want to use custom logging factory in cpp client

### Modifications

#7132 broke custom logger config option. It then was identified in #7503 (and #7502) but not fixed. This PR actually fixes it by checking the right variable name.

### Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

### Documentation

This PR does not introduce any new functionality, but it fixes existing functionality that presumably is already documented.

* Fix for not respecting custom LoggerFactory client config

* Add Custom Logger Factory Test

* revert threads used by make in docker-build

Co-authored-by: Stepan Mazurov <smazurov@quantummetric.com>
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Oct 3, 2020
apache#7932)

### Motivation

I want to use custom logging factory in cpp client

### Modifications

apache#7132 broke custom logger config option. It then was identified in apache#7503 (and apache#7502) but not fixed. This PR actually fixes it by checking the right variable name.

### Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

### Documentation

This PR does not introduce any new functionality, but it fixes existing functionality that presumably is already documented.

* Fix for not respecting custom LoggerFactory client config

* Add Custom Logger Factory Test

* revert threads used by make in docker-build

Co-authored-by: Stepan Mazurov <smazurov@quantummetric.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CPP client compilation issues.

3 participants