]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
erasure-code: print warnings using dout(10)
authorKefu Chai <kchai@redhat.com>
Sun, 20 Dec 2020 03:39:49 +0000 (11:39 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 20 Dec 2020 05:13:21 +0000 (13:13 +0800)
commitea18a51d7787db805ff83cc281155b1afbf02e07
tree5f0f035b8ecddda708a98caed6476c2ac0bd8095
parent5e60fde981fe19fcaf66a6ec2e7d4cc98a648a37
erasure-code: print warnings using dout(10)

stderr is closed once the process is daemonized, while `derr` is for
fatal error or logic error in program. dout(10) is more appropriate in
this case, as it is an expected error from callee's perspective.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/erasure-code/shec/ErasureCodeShec.cc