]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
log: apply log_level to stderr/syslog logic
authorSage Weil <sage@inktank.com>
Mon, 16 Jul 2012 23:02:14 +0000 (16:02 -0700)
committerSage Weil <sage@inktank.com>
Mon, 16 Jul 2012 23:02:14 +0000 (16:02 -0700)
commit52f96b9fd1a358956b0331e3e194c8a752d2ee5a
tree1ab558d636cf8ae045e9468aef41c3508bdcc185
parent64f745008b1af1a1615119a04d10f7a1c5750396
log: apply log_level to stderr/syslog logic

In non-crash situations, we want to make sure the message is both below the
syslog/stderr threshold and also below the normal log threshold.  Otherwise
we get anything we gather on those channels, even when the log level is
low.

Signed-off-by: Sage Weil <sage@inktank.com>
src/log/Log.cc