]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushLocation: do not print logging message in constructor 40457/head
authorAlex Wu <notmycupoftea@163.com>
Mon, 29 Mar 2021 02:09:50 +0000 (22:09 -0400)
committerAlex Wu <notmycupoftea@163.com>
Wed, 31 Mar 2021 01:54:17 +0000 (21:54 -0400)
commit68812a2a4f63e9fd7c33f14b7a00c54a6a21128e
treecbf0a4c0eb6120812614e56611ddd9597debdb4c
parente833956918923b3362942c561ac10e99c384455d
crush/CrushLocation: do not print logging message in constructor

do not use logging facility in constructor, as CephContext::_log is set
after CephContext::crush_location is created in constructor of CephContext.

Fixes: https://tracker.ceph.com/issues/50047
Signed-off-by: Alex Wu <notmycupoftea@163.com>
src/crush/CrushLocation.cc