]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
logging: DoutStreambuf improvements
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 7 Dec 2010 20:11:18 +0000 (12:11 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 7 Dec 2010 20:11:18 +0000 (12:11 -0800)
commitdf5d4e629757617481280b1d3e529849b1ae910b
tree5d42a90ae67730d79fd56228ee05dead0efa5a1c
parentd4043e818f994c4f7e2408c00f0967e189717d5d
logging: DoutStreambuf improvements

Write to stdout_fileno directly rather than using a buffer, which we
would then have to flush. Fix a bug in the buffering of priorities.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/common/DoutStreambuf.cc
src/test/TestDoutStreambuf.cc