[sheepdog] [PATCH] add INFO level operation logging on each node.
Matsuo Yoshinori
ml.yosinori at gmail.com
Tue Jan 21 12:38:07 CET 2014
I think the both logging function are needed because of the reasons below.
Reason:
1. The dog and the sheep are another process.
Even if dog is working good but sheep process may have some trouble.
Then we need to track on the sheep process, too.
2. The reason that we want a logging function on sheep process.
The sheep processes are always in the cluster, but dog are not.
We may not be able to get the evidence log,
if dog command was issued from unknown or operators temporary host.
3. The reason that we want a logging function on dog command.
Sheep can't log dog command level directry but dog can log more readable
log with all command options.
The operator wants to see dog command level evidence first, when checking
what is done to cluster.
I would like to know Hitoshi's opinion, too.
Thanks
2014/1/14 Liu Yuan <namei.unix at gmail.com>
> On Tue, Jan 14, 2014 at 03:20:51PM +0900, Matsuo Yoshinori wrote:
> > Sorry for long leave
> >
> > Yes, logging at dog command and sheep process looks similar.
> > But we think each function is not completely the same.
> >
> > Hitoshi's dog logging is just for client side logging, but sheep process
> > logging is server side.
> > Server side logging is much suitable for the evidence of administrative
> > operations.
>
> Then we need to figure out why we need sheep to log these stuff again
> because
> dog already provide a means to log it. Either way, I think we only need
> one mechanism to log these stuff because your patch and Hitoshi's try to
> solve
> the same problem. I don't see points to logging these stuff twice in
> different
> places.
>
> >
> > In addition.
> > Operator can select INFO & NOTICE level.
> > It means that user can stop INFO log by selecting NOTICE level, if user
> > strongly don't want this feature.
>
> I am wondering if there is anything your patch solves but Hitoshi's can't.
> If you
> think your approach is more suitable, you need provide reasons and reach
> agreement
> between you, Hitoshi and I, then finally choose one over another.
>
> Thanks
> Yuan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20140121/d59362bd/attachment-0004.html>
More information about the sheepdog
mailing list