]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushLocation: do not print logging message in constructor 40750/head
authorAlex Wu <notmycupoftea@163.com>
Mon, 29 Mar 2021 02:09:50 +0000 (22:09 -0400)
committerNathan Cutler <ncutler@suse.com>
Sat, 10 Apr 2021 16:27:33 +0000 (18:27 +0200)
commitedd63bf7e6004938e88de4b6ac2eb86ad00de834
treee63ea1f89a9460ddf29874a073240ced8ed25217
parentc4a11b921aac5c09e9ef45a89c0a4c7367031105
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>
(cherry picked from commit 68812a2a4f63e9fd7c33f14b7a00c54a6a21128e)

Conflicts:
src/crush/CrushLocation.cc
- trivial resolution
src/crush/CrushLocation.cc