Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Initialize logger min level from logger_impl.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Oct 6, 2017
1 parent a6c1e18 commit 529d7f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/native/cpp/InstanceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ InstanceImpl::InstanceImpl(int inst)
rpc_server(inst, logger),
storage(entry_notifier, rpc_server, logger),
dispatcher(storage, connection_notifier, logger),
ds_client(dispatcher, logger) {}
ds_client(dispatcher, logger) {
logger.set_min_level(logger_impl.GetMinLevel());
}

InstanceImpl::~InstanceImpl() { logger.SetLogger(nullptr); }

Expand Down

0 comments on commit 529d7f5

Please sign in to comment.