[sheepdog] [PATCH 2/2] logger: add a unified log destination option and syslog support

Hitoshi Mitake mitake.hitoshi at gmail.com
Mon Jan 20 02:37:48 CET 2014


At Fri, 17 Jan 2014 16:54:52 +0800,
Liu Yuan wrote:
> 
> On Fri, Jan 17, 2014 at 08:35:59AM +0900, Hitoshi Mitake wrote:
> > This patch adds a new parameter "dst=" to the "-l" option for
> > specifying logging destination. Possible parameters are below:
> > - default: a dedicated file under sheep's directory
> > - syslog: standard syslog
> > - stdout: standard output
> 
> I think we should remove -f option too. 
> 
> sheep/sheep -l dir=store,dst=stdout,level=debug /tmp/test -c local
> 
> Above command will succeed but no output at all. I think stdout will implies
> foreground. and 'dir=somewhere' might be conflicting to dst=stdout, so in this
> case we should error out.

OK, I'll send v2 later.

Thanks,
Hitoshi



More information about the sheepdog mailing list