]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: limit `log last` to INFO by default + allow setting
authorJohn Spray <john.spray@redhat.com>
Sun, 25 Jun 2017 22:22:07 +0000 (18:22 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 26 Jun 2017 18:32:33 +0000 (14:32 -0400)
commit30b4ed431e847c6cd9183a122f758ad0ab327820
treee69de241891f2ee433e407e199fe2c04bc2471ae
parent597737271543ba11fed66a447080eadb07cc0182
mon: limit `log last` to INFO by default + allow setting

The syntax is crude because we only have positional arguments,
but anyone who wants anything different can probably handle
saying how many lines they want.

INFO is the same default setting as "ceph -w".

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/LogMonitor.cc
src/mon/MonCommands.h