Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

[PATCH]Improvement of the log output of mysql.

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


renayama19661014 at ybb

Nov 11, 2009, 9:26 PM

Post #1 of 9 (1490 views)
Permalink
[PATCH]Improvement of the log output of mysql.

Hi,

We review the output of the error log of RA.

In RA of mysql, the error of the kill command is canceled somehow or other.

I made a patch to output it without canceling the failure of the kill command.

Furthermore, I revised it not to cancel a start and the log output of the monitor.
And added the details of the log information at the time of the stop.

It is a small patch, but wants you to include it in the latest edition by all means.

Best Regards,
Hideo Yamauchi.


_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Nov 12, 2009, 4:53 PM

Post #2 of 9 (1414 views)
Permalink
Re: [PATCH]Improvement of the log output of mysql. [In reply to]

Sorry,

I forgot to attach a patch.

Best Regards,
Hideo Yamauchi.

--- renayama19661014 [at] ybb wrote:

> Hi,
>
> We review the output of the error log of RA.
>
> In RA of mysql, the error of the kill command is canceled somehow or other.
>
> I made a patch to output it without canceling the failure of the kill command.
>
> Furthermore, I revised it not to cancel a start and the log output of the monitor.
> And added the details of the log information at the time of the stop.
>
> It is a small patch, but wants you to include it in the latest edition by all means.
>
> Best Regards,
> Hideo Yamauchi.
>
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
Attachments: mysql.dev.patch (1.44 KB)


dejanmm at fastmail

Nov 13, 2009, 3:36 AM

Post #3 of 9 (1407 views)
Permalink
Re: [PATCH]Improvement of the log output of mysql. [In reply to]

Hi again,

The same comment applies as for the previous patch. Here, though,
we may remove 2>/dev/null in the start mysql process.

Cheers,

Dejan

On Thu, Nov 12, 2009 at 02:26:58PM +0900, renayama19661014 [at] ybb wrote:
> Hi,
>
> We review the output of the error log of RA.
>
> In RA of mysql, the error of the kill command is canceled somehow or other.
>
> I made a patch to output it without canceling the failure of the kill command.
>
> Furthermore, I revised it not to cancel a start and the log output of the monitor.
> And added the details of the log information at the time of the stop.
>
> It is a small patch, but wants you to include it in the latest edition by all means.
>
> Best Regards,
> Hideo Yamauchi.
>
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Nov 15, 2009, 4:52 PM

Post #4 of 9 (1380 views)
Permalink
Re: [PATCH]Improvement of the log output of mysql. [In reply to]

Hi Dejan,

> The same comment applies as for the previous patch. Here, though,
> we may remove 2>/dev/null in the start mysql process.
All right.
I entrust you.

Best Regards,
Hideo yamauchi.

--- Dejan Muhamedagic <dejanmm [at] fastmail> wrote:

> Hi again,
>
> The same comment applies as for the previous patch. Here, though,
> we may remove 2>/dev/null in the start mysql process.
>
> Cheers,
>
> Dejan
>
> On Thu, Nov 12, 2009 at 02:26:58PM +0900, renayama19661014 [at] ybb wrote:
> > Hi,
> >
> > We review the output of the error log of RA.
> >
> > In RA of mysql, the error of the kill command is canceled somehow or other.
> >
> > I made a patch to output it without canceling the failure of the kill command.
> >
> > Furthermore, I revised it not to cancel a start and the log output of the monitor.
> > And added the details of the log information at the time of the stop.
> >
> > It is a small patch, but wants you to include it in the latest edition by all means.
> >
> > Best Regards,
> > Hideo Yamauchi.
> >
> >
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Nov 25, 2009, 9:41 PM

Post #5 of 9 (1217 views)
Permalink
Re: [PATCH]Improvement of the log output of mysql. [In reply to]

Hi Dejan,

There was a mistake to my patch.

2>&1 by the status processing is necessary.

I retransmit a patch.

Best Regards,
Hideo Yamauchi.


--- renayama19661014 [at] ybb wrote:

> Hi Dejan,
>
> > The same comment applies as for the previous patch. Here, though,
> > we may remove 2>/dev/null in the start mysql process.
> All right.
> I entrust you.
>
> Best Regards,
> Hideo yamauchi.
>
> --- Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
>
> > Hi again,
> >
> > The same comment applies as for the previous patch. Here, though,
> > we may remove 2>/dev/null in the start mysql process.
> >
> > Cheers,
> >
> > Dejan
> >
> > On Thu, Nov 12, 2009 at 02:26:58PM +0900, renayama19661014 [at] ybb wrote:
> > > Hi,
> > >
> > > We review the output of the error log of RA.
> > >
> > > In RA of mysql, the error of the kill command is canceled somehow or other.
> > >
> > > I made a patch to output it without canceling the failure of the kill command.
> > >
> > > Furthermore, I revised it not to cancel a start and the log output of the monitor.
> > > And added the details of the log information at the time of the stop.
> > >
> > > It is a small patch, but wants you to include it in the latest edition by all means.
> > >
> > > Best Regards,
> > > Hideo Yamauchi.
> > >
> > >
> > > _______________________________________________________
> > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > Home Page: http://linux-ha.org/
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> >
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
Attachments: mysql.dev.patch (1.25 KB)


dejanmm at fastmail

Nov 26, 2009, 3:01 AM

Post #6 of 9 (1213 views)
Permalink
Re: [PATCH]Improvement of the log output of mysql. [In reply to]

Hi Hideo-san,

On Thu, Nov 26, 2009 at 02:41:09PM +0900, renayama19661014 [at] ybb wrote:
> Hi Dejan,
>
> There was a mistake to my patch.
>
> 2>&1 by the status processing is necessary.

OK, but I'd still like to know in which situation did you find
output from the kill command helpful.

Cheers,

Dejan

> I retransmit a patch.
>
> Best Regards,
> Hideo Yamauchi.
>
>
> --- renayama19661014 [at] ybb wrote:
>
> > Hi Dejan,
> >
> > > The same comment applies as for the previous patch. Here, though,
> > > we may remove 2>/dev/null in the start mysql process.
> > All right.
> > I entrust you.
> >
> > Best Regards,
> > Hideo yamauchi.
> >
> > --- Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> >
> > > Hi again,
> > >
> > > The same comment applies as for the previous patch. Here, though,
> > > we may remove 2>/dev/null in the start mysql process.
> > >
> > > Cheers,
> > >
> > > Dejan
> > >
> > > On Thu, Nov 12, 2009 at 02:26:58PM +0900, renayama19661014 [at] ybb wrote:
> > > > Hi,
> > > >
> > > > We review the output of the error log of RA.
> > > >
> > > > In RA of mysql, the error of the kill command is canceled somehow or other.
> > > >
> > > > I made a patch to output it without canceling the failure of the kill command.
> > > >
> > > > Furthermore, I revised it not to cancel a start and the log output of the monitor.
> > > > And added the details of the log information at the time of the stop.
> > > >
> > > > It is a small patch, but wants you to include it in the latest edition by all means.
> > > >
> > > > Best Regards,
> > > > Hideo Yamauchi.
> > > >
> > > >
> > > > _______________________________________________________
> > > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > > Home Page: http://linux-ha.org/
> > > _______________________________________________________
> > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > Home Page: http://linux-ha.org/
> > >
> >
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> >


> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Nov 26, 2009, 10:24 PM

Post #7 of 9 (1202 views)
Permalink
Re: [PATCH]Improvement of the log output of mysql. [In reply to]

Hi Dejan,

> OK, but I'd still like to know in which situation did you find
> output from the kill command helpful.

I did not make only a kill command a problem.

We thought that the errors such as commands carried out should have come out of RA in log.
It helps HA-user when a problem happened.

# Our problem was that an error of oracle was not output.
# The problem is not taking place in mysql and apache now.

Therefore we think that it is very effective to improve the error output of all RA.

Best Regards,
Hideo Yamauchi.


--- Dejan Muhamedagic <dejanmm [at] fastmail> wrote:

> Hi Hideo-san,
>
> On Thu, Nov 26, 2009 at 02:41:09PM +0900, renayama19661014 [at] ybb wrote:
> > Hi Dejan,
> >
> > There was a mistake to my patch.
> >
> > 2>&1 by the status processing is necessary.
>
> OK, but I'd still like to know in which situation did you find
> output from the kill command helpful.
>
> Cheers,
>
> Dejan
>
> > I retransmit a patch.
> >
> > Best Regards,
> > Hideo Yamauchi.
> >
> >
> > --- renayama19661014 [at] ybb wrote:
> >
> > > Hi Dejan,
> > >
> > > > The same comment applies as for the previous patch. Here, though,
> > > > we may remove 2>/dev/null in the start mysql process.
> > > All right.
> > > I entrust you.
> > >
> > > Best Regards,
> > > Hideo yamauchi.
> > >
> > > --- Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> > >
> > > > Hi again,
> > > >
> > > > The same comment applies as for the previous patch. Here, though,
> > > > we may remove 2>/dev/null in the start mysql process.
> > > >
> > > > Cheers,
> > > >
> > > > Dejan
> > > >
> > > > On Thu, Nov 12, 2009 at 02:26:58PM +0900, renayama19661014 [at] ybb wrote:
> > > > > Hi,
> > > > >
> > > > > We review the output of the error log of RA.
> > > > >
> > > > > In RA of mysql, the error of the kill command is canceled somehow or other.
> > > > >
> > > > > I made a patch to output it without canceling the failure of the kill command.
> > > > >
> > > > > Furthermore, I revised it not to cancel a start and the log output of the monitor.
> > > > > And added the details of the log information at the time of the stop.
> > > > >
> > > > > It is a small patch, but wants you to include it in the latest edition by all means.
> > > > >
> > > > > Best Regards,
> > > > > Hideo Yamauchi.
> > > > >
> > > > >
> > > > > _______________________________________________________
> > > > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > > > Home Page: http://linux-ha.org/
> > > > _______________________________________________________
> > > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > > Home Page: http://linux-ha.org/
> > > >
> > >
> > > _______________________________________________________
> > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > Home Page: http://linux-ha.org/
> > >
>
>
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


dejanmm at fastmail

Nov 27, 2009, 5:59 AM

Post #8 of 9 (1193 views)
Permalink
Re: [PATCH]Improvement of the log output of mysql. [In reply to]

Hi Hideo-san,

Patch applied.

Cheers,

Dejan

On Thu, Nov 26, 2009 at 02:41:09PM +0900, renayama19661014 [at] ybb wrote:
> Hi Dejan,
>
> There was a mistake to my patch.
>
> 2>&1 by the status processing is necessary.
>
> I retransmit a patch.
>
> Best Regards,
> Hideo Yamauchi.
>
>
> --- renayama19661014 [at] ybb wrote:
>
> > Hi Dejan,
> >
> > > The same comment applies as for the previous patch. Here, though,
> > > we may remove 2>/dev/null in the start mysql process.
> > All right.
> > I entrust you.
> >
> > Best Regards,
> > Hideo yamauchi.
> >
> > --- Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> >
> > > Hi again,
> > >
> > > The same comment applies as for the previous patch. Here, though,
> > > we may remove 2>/dev/null in the start mysql process.
> > >
> > > Cheers,
> > >
> > > Dejan
> > >
> > > On Thu, Nov 12, 2009 at 02:26:58PM +0900, renayama19661014 [at] ybb wrote:
> > > > Hi,
> > > >
> > > > We review the output of the error log of RA.
> > > >
> > > > In RA of mysql, the error of the kill command is canceled somehow or other.
> > > >
> > > > I made a patch to output it without canceling the failure of the kill command.
> > > >
> > > > Furthermore, I revised it not to cancel a start and the log output of the monitor.
> > > > And added the details of the log information at the time of the stop.
> > > >
> > > > It is a small patch, but wants you to include it in the latest edition by all means.
> > > >
> > > > Best Regards,
> > > > Hideo Yamauchi.
> > > >
> > > >
> > > > _______________________________________________________
> > > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > > Home Page: http://linux-ha.org/
> > > _______________________________________________________
> > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > Home Page: http://linux-ha.org/
> > >
> >
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> >


> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Nov 29, 2009, 8:03 PM

Post #9 of 9 (1145 views)
Permalink
Re: [PATCH]Improvement of the log output of mysql. [In reply to]

Hi Dejan,

> Patch applied.
Thank you.

Hideo Yamauchi.

--- Dejan Muhamedagic <dejanmm [at] fastmail> wrote:

> Hi Hideo-san,
>
> Patch applied.
>
> Cheers,
>
> Dejan
>
> On Thu, Nov 26, 2009 at 02:41:09PM +0900, renayama19661014 [at] ybb wrote:
> > Hi Dejan,
> >
> > There was a mistake to my patch.
> >
> > 2>&1 by the status processing is necessary.
> >
> > I retransmit a patch.
> >
> > Best Regards,
> > Hideo Yamauchi.
> >
> >
> > --- renayama19661014 [at] ybb wrote:
> >
> > > Hi Dejan,
> > >
> > > > The same comment applies as for the previous patch. Here, though,
> > > > we may remove 2>/dev/null in the start mysql process.
> > > All right.
> > > I entrust you.
> > >
> > > Best Regards,
> > > Hideo yamauchi.
> > >
> > > --- Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> > >
> > > > Hi again,
> > > >
> > > > The same comment applies as for the previous patch. Here, though,
> > > > we may remove 2>/dev/null in the start mysql process.
> > > >
> > > > Cheers,
> > > >
> > > > Dejan
> > > >
> > > > On Thu, Nov 12, 2009 at 02:26:58PM +0900, renayama19661014 [at] ybb wrote:
> > > > > Hi,
> > > > >
> > > > > We review the output of the error log of RA.
> > > > >
> > > > > In RA of mysql, the error of the kill command is canceled somehow or other.
> > > > >
> > > > > I made a patch to output it without canceling the failure of the kill command.
> > > > >
> > > > > Furthermore, I revised it not to cancel a start and the log output of the monitor.
> > > > > And added the details of the log information at the time of the stop.
> > > > >
> > > > > It is a small patch, but wants you to include it in the latest edition by all means.
> > > > >
> > > > > Best Regards,
> > > > > Hideo Yamauchi.
> > > > >
> > > > >
> > > > > _______________________________________________________
> > > > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > > > Home Page: http://linux-ha.org/
> > > > _______________________________________________________
> > > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > > Home Page: http://linux-ha.org/
> > > >
> > >
> > > _______________________________________________________
> > > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > > Home Page: http://linux-ha.org/
> > >
>
>
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.