[sheepdog] [PATCH] dog: log dog operation in syslog

Liu Yuan namei.unix at gmail.com
Fri Dec 27 05:52:21 CET 2013


On Fri, Dec 27, 2013 at 11:01:40AM +0900, Hitoshi Mitake wrote:
> This patch is based on a request from our internal team. Currently,
> sheepdog doesn't provide a way of logging admin's operation. The lack
> of this feature is serious because we cannot find any evidence of
> operation.
> 
> This patch adds the logging feature in dog command. If the environment
> variable, SHEEPDOG_DOG_LOG, has value, dog command logs its command
> line argument with syslog.

syslog is full of logs unrelated to sheepdog. How about a dedicated log file
e.g, /var/log/sheepdog/dog.log to log the dog operation? SHEEPDOG_DOG_LOG can
be used as a hint for user defined locatin for log file. I'd like to make loging
of dog operation default on.

Thanks
Yuan



More information about the sheepdog mailing list