This patchset improves logging feature of sheep daemon. 1. changing loglevel at runtime via dog command 2. rotate log with SIGHUP
v3: - make the previous subcommand loglevel -> log - comment cleaning v2: - add a new subcommand "dog node loglevel list" for listing available loglevels Hitoshi Mitake (2): sheep, dog: runtime loglevel changing sheep: rotate log with SIGHUP CHANGELOG.md | 9 +++-- dog/common.c | 84 +++++++++++++++++++++++++++++++++++++++++++ dog/dog.h | 5 +++ dog/node.c | 90 +++++++++++++++++++++++++++++++++++++++++++++- include/internal_proto.h | 2 ++ include/logger.h | 5 +++ lib/logger.c | 72 +++++++++++++++++++++++++++++++++++-- sheep/ops.c | 43 ++++++++++++++++++++++ sheep/sheep.c | 11 ++++++ 9 files changed, 316 insertions(+), 5 deletions(-) -- 1.7.10.4 -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
