]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
logger: avoid dup lines when we get behind
authorSage Weil <sage@newdream.net>
Tue, 8 Dec 2009 16:25:21 +0000 (08:25 -0800)
committerSage Weil <sage@newdream.net>
Tue, 8 Dec 2009 16:25:21 +0000 (08:25 -0800)
commit9bc49228b0d7f864de04124dc58643ec0a63208b
tree66b403dce068acc466c112557906b9cb82ad76f1
parent9922ae1f55d7d6bee968cde01ed8205a1b6d72f7
logger: avoid dup lines when we get behind

If we get behind (say, after SIGSTOP ... SIGCONT),
instead of printing dup lines for every interval we missed,
print just the first and last.  That will make any graph
have a nice, hopefully obvious perfectly horizontal line.
src/common/Logger.cc
src/common/Logger.h