]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
log: don't clear ring when dump_recent is called
authorMykola Golub <mgolub@suse.com>
Sun, 21 Oct 2018 07:10:59 +0000 (10:10 +0300)
committerMykola Golub <mgolub@suse.com>
Sun, 21 Oct 2018 07:44:41 +0000 (10:44 +0300)
commitce01d99c9af00fb0149eb1206994c477963d6095
tree5d529e99011700963309417dc282ff0cf1ae21f5
parent759432ac54f61de78e92c78a74a0de852abe6235
log: don't clear ring when dump_recent is called

so the recent entries are still available if dump_recent is called
again. This is the case e.g. when the signal handler wants to dump the
recent entries both to the regular log and to the crash log.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/log/Log.cc