[sheepdog] [PATCH 1/2] sheep, dog: runtime loglevel changing

Liu Yuan namei.unix at gmail.com
Sat Oct 19 08:24:54 CEST 2013


On Fri, Oct 18, 2013 at 08:54:33PM +0900, Hitoshi Mitake wrote:
> This patch adds two new opcode for runtime loglevel changes and let
> dog support the changing from command line. This is useful for making
> sheep process verbose temporally and can make troubleshooting easier.
> 
> Example of usage:
> 
> $ dog node loglevel get
> info (6)
> $ dog node loglevel set debug	# <- change loglevel from info to debug
> $ dog node loglevel get
> debug (7)

I think 'node log' is a shorter thus better naming.  I'd suggest add a list
command that list the avaiable log levels.

Thanks
Yuan



More information about the sheepdog mailing list