From: Sage Weil Date: Wed, 12 Jun 2013 20:59:37 +0000 (-0700) Subject: ceph: flush stdout on watch print X-Git-Tag: v0.65~97 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b70f5658c41ba7aa3d4365d607bdcacc9a75d868;p=ceph.git ceph: flush stdout on watch print Signed-off-by: Sage Weil --- diff --git a/src/ceph.in b/src/ceph.in index 9b048597e18..01dd908ad98 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -1417,6 +1417,7 @@ def main(): # an awfully simple callback def watch_cb(arg, line, who, stamp_sec, stamp_nsec, seq, level, msg): print line + sys.stdout.flush() # first do a ceph status ret, outbuf, outs = json_command(prefix='status')