[sheepdog-users] [PATCH stable-0.7 v2 0/3] update for logger enhancement

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Jan 31 05:00:54 CET 2014


At Wed, 29 Jan 2014 18:24:34 +0900,
Hitoshi Mitake wrote:
> 
> This update contains a bugfix and enhancements of logger.
> 
> bugfix:
> - invalid detection of sheep's death is fixed
> 
> enhancements:
> - if passed path of log directory is not a correct path of directory, sheep
>   exits
> - syslog can be used as a log destination
> 
> Especially the last one is a big change. For using syslog without breaking
> compatibility of command line options, this update adds a new option '-s' for
> the purpose.
> 
> v2:
>  - update commit log for more precise description of the changes
> 
> Hitoshi Mitake (3):
>   logger: avoid using SIGHUP for detecting death of sheep
>   sheep: exit when a passed path of log dir is not a directory
>   logger: add syslog support as a log destination
> 
>  include/logger.h |    9 ++++++-
>  lib/logger.c     |   78 ++++++++++++++++++++++++++++++++----------------------
>  sheep/sheep.c    |   31 +++++++++++++++++++---
>  3 files changed, 81 insertions(+), 37 deletions(-)

Reviewed-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

Thanks,

Kazutaka



More information about the sheepdog-users mailing list