Hi Dejan, Sorry.... Meanings of your comment cannot understand it well. Please teach contents of the comment a little more intelligibly.
Best Regards, Hideo Yamauchi. --- Dejan Muhamedagic <deja...@fastmail.fm> wrote: > Hi Hideo-san, > > On Thu, Dec 10, 2009 at 05:34:56PM +0900, renayama19661...@ybb.ne.jp wrote: > > Hi, > > > > We are troubled with log in reset of stonith. > > > > Log is not output till practice is completed in the reset movement of > > stonith. > > I see your point. > > > The stonith module which is extenal which we made gives log during reset > > movement and chases > movement. > > For us, the chase of the reset movement is very useful. > > > > We think that the whole reset movement should be over the log at any time. > > The stdout/stderr should be split with stderr going immediately > to the log and the content of stdout returned to the caller. Any > chance to implement it that way. > > > I created a patch for external.c. > > Please teach it if there is the revision method that, besides, is good. > > After taking a quick look, I find this part a bit strange: > > + if (fgets(buff, BUFF_LEN, file)) { > + LOG(PIL_INFO, "%s: '%s' output: %s", > __FUNCTION__, cmd, buff); > + if (Debug && data) { > + LOG(PIL_DEBUG, "%s: '%s' output: %s", > __FUNCTION__, cmd, buff); > + } > + tosleep = FALSE; > + } > > Cheers, > > Dejan > > > Best Regards, > > Hideo Yamauchi. > > > > _______________________________________________________ > > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > _______________________________________________________ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/