[sheepdog] [PATCH 2/2] logger: add a unified log destination option and syslog support
Liu Yuan
namei.unix at gmail.com
Fri Jan 17 09:54:52 CET 2014
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.
Thanks
Yuan
More information about the sheepdog
mailing list