[sheepdog] [PATCH] sheep: add an option for selecting the output directory of sheep.log

Hitoshi Mitake mitake.hitoshi at gmail.com
Wed Dec 11 02:22:05 CET 2013


At Tue, 10 Dec 2013 12:36:06 +0800,
Liu Yuan wrote:
> 
> On Mon, Dec 09, 2013 at 08:49:45PM +0900, Teruaki Ishizaki wrote:
> > Previously sheep.log was saved in the Sheepdog store directory,
> > and used size of Sheepdog store directory included log file size.
> > So, administrator couldn't do capacity planning simply.
> > 
> > This patch adds an option for setting the output directory of sheep.log.
> > 
> > Usage:
> > 	$ sheep -L dir=<log_output_dir>
> > 
> > Example:
> > 	$ sheep -L dir=/logdir /datastore
> 
> I think it is a good time to group logger parameters into a single option, that 
> is
> 
>  -l level=xxx,dir=yyy,formatter=zzz.

I think this patch is helpful for administrators so I want to backport
it to stable-0.7. I want a patch for grouping the logger parameters to
be an independent one for minimizing interface change of the stable
branch.

Thanks,
Hitoshi



More information about the sheepdog mailing list