[sheepdog] [PATCH] logger: init log formatter for collie

MORITA Kazutaka morita.kazutaka at gmail.com
Thu Feb 7 04:05:53 CET 2013


At Wed,  6 Feb 2013 15:53:16 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> Collie doesn't call select_log_formatter(), so some functions shared by collie
> sheep such as connect_to() will call into logger, which then leade to segfault.
> 
> We should init log formatter on our own, collie dosen't need bother initinig it.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  lib/logger.c  |   19 +++++++++++++++++++
>  sheep/sheep.c |    9 +--------
>  2 files changed, 20 insertions(+), 8 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list