]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushLocation: do not print logging message in constructor 40791/head
authorAlex Wu <notmycupoftea@163.com>
Mon, 29 Mar 2021 02:09:50 +0000 (22:09 -0400)
committerNathan Cutler <ncutler@suse.com>
Sun, 11 Apr 2021 10:13:35 +0000 (12:13 +0200)
commitda0aa5f20db90ff87177321a413d0d9e3b1684f1
treed9f687390fa6c9a55be57b2878d7bee4a95e208c
parent1976598f645ad1935a5e428219713b8856796d83
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)
src/crush/CrushLocation.cc