]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: allow syslog level and facility for cluster log to be controlled
authorSage Weil <sage@inktank.com>
Wed, 20 Feb 2013 20:47:38 +0000 (12:47 -0800)
committerSage Weil <sage@inktank.com>
Wed, 20 Feb 2013 20:52:32 +0000 (12:52 -0800)
commitceb390f672fa8cc3823fac588ac19cb18b2a7777
treec48193363b0beaf2065e619c9b0364fdef8cc86d
parent04f3fe4e2c778fa8cd7d894d5b5175f1a2c8db39
mon: allow syslog level and facility for cluster log to be controlled

Allow user to control the minimum level to go to syslog for the client-
and server-side submission paths for the cluster log, along with the syslog
'facility'.  See syslog(3) man page.

Also move the level checks into a LogEntry method.

Closes: #3704
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Luis <joao.luis@inktank.com>
src/common/LogClient.cc
src/common/LogEntry.cc
src/common/LogEntry.h
src/common/config_opts.h
src/mon/LogMonitor.cc