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

Liu Yuan namei.unix at gmail.com
Mon Jan 20 05:58:04 CET 2014


On Mon, Jan 20, 2014 at 01:09:28PM +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
> 
> In addition, this patch removes "-o" option and "-f" option, previous
> options for logging with stdout and let sheep run as a foreground
> process. Now it is replaced with "-l dst=stdout".
> 
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
> 
> v2:
>  - remove -f option too
>  - dir= parameter passed with dst=stdout or dst=syslog is treated as error

Applied after removing extra blank line and '\n', thanks

Yuan



More information about the sheepdog mailing list