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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Wed Jan 29 10:24:34 CET 2014


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(-)

-- 
1.7.10.4




More information about the sheepdog mailing list