Sergei Golubchik wrote:
> Hi, Dao-Gang.Qu!
>
> On Dec 03, Dao-Gang.Qu@stripped wrote:
> >
> > 3233 Dao-Gang.Qu@stripped 2009-12-03
> > Bug #42851 Spurious "Statement is not safe to log in
> > statement format." warnings
> >
> > The unsafe warnings in error log make error log grow too large.
> >
> > To fix the problem, the unsafe warnings only will be written to
> > error log, when the level of --log-warnings option >= 2.
>
> I'm sorry, what bug are you fixing ?
>
> The bug <<Spurious "Statement is not safe to log in statement
> format." warnings>> is already *fixed* and *pushed*.
>
Bug#46265 fixed that the unsafe warnings will not be printed when
log_warnings is 0, but this will also disable warnings like slave
connection problem, which user might think important and do not want to
disable. in bug#42851, we want to make it only print the Unsafe warnings
(which could be a lot) when log_warnings is > 2, if log_warnings is 1,
it will printing other warnings messages such as slave connection
problems to the error log, but no unsafe warnings.
> Regards / Mit vielen Grüßen,
> Sergei
>
> --
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
> / /|_/ / // /\ \/ /_/ / /__ Principal Software Engineer/Server Architect
> /_/ /_/\_, /___/\___\_\___/ Sun Microsystems GmbH, HRB München 161028
> <___/ Sonnenallee 1, 85551 Kirchheim-Heimstetten
> Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
> Vorsitzender des Aufsichtsrates: Martin Häring
>