Unix Technical Forum

Log Warnings Level

This is a discussion on Log Warnings Level within the MySQL General forum forums, part of the MySQL category; --> The manual indicates that you can specify a specific level to control what types of warnings are logged: http://dev.mysql.com/doc/refman/5.0/...r-options.html ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 05:34 AM
Kristen G. Thorson
 
Posts: n/a
Default Log Warnings Level

The manual indicates that you can specify a specific level to control
what types of warnings are logged:

http://dev.mysql.com/doc/refman/5.0/...r-options.html

(See section on log-warnings.)

But all I really get from this reading is 0 turns it off, 1 prints some
warnings, and 2 prints level 1 warnings plus aborted connections
warnings. I have not been able to find any additional information in my
search. Am I missing something, or is this all the documentation there
is on this?


Thanks,

Kristen G. Thorson
Programmer
(804) 553-1130, Ext. 204
www.AllegroConsultants.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 05:37 AM
Colin Charles
 
Posts: n/a
Default Re: Log Warnings Level

Kristen G. Thorson wrote:

Hi!

> But all I really get from this reading is 0 turns it off, 1 prints some
> warnings, and 2 prints level 1 warnings plus aborted connections
> warnings. I have not been able to find any additional information in my
> search. Am I missing something, or is this all the documentation there
> is on this?


What kind of additional information are you looking about the --W (or
--log-warnings=N) option?

I'd pay attention to aborted connections, as MySQL Network's monitoring
service actually does do so

kind regards
--
Colin Charles, Community Engineer
MySQL AB, Melbourne, Australia, www.mysql.com
Mobile: +614 12 593 292 / Skype: colincharles
Web: http://www.bytebot.net/blog/

MySQL Forge: http://forge.mysql.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 05:38 AM
Kristen G. Thorson
 
Posts: n/a
Default RE: Log Warnings Level

> -----Original Message-----
> From: Colin Charles [mailto:colin@mysql.com]
> Sent: Wednesday, January 17, 2007 9:08 PM
> To: Kristen G. Thorson
> Cc: mysql@lists.mysql.com
> Subject: Re: Log Warnings Level
>
> Kristen G. Thorson wrote:
>
> Hi!
>
> > But all I really get from this reading is 0 turns it off, 1 prints

some
> > warnings, and 2 prints level 1 warnings plus aborted connections
> > warnings. I have not been able to find any additional information

in my
> > search. Am I missing something, or is this all the documentation

there
> > is on this?

>
> What kind of additional information are you looking about the --W (or
> --log-warnings=N) option?



Thank you for the response.

I was looking for information on how high the level can go - 2? 5? 200?
- and what types of warnings are logged for a given level?


> I'd pay attention to aborted connections, as MySQL Network's

monitoring
> service actually does do so



I'm not sure what you mean by this. Could you clarify?

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-28-2008, 05:38 AM
Colin Charles
 
Posts: n/a
Default Re: Log Warnings Level

Kristen G. Thorson wrote:

>>> But all I really get from this reading is 0 turns it off, 1 prints

> some
>>> warnings, and 2 prints level 1 warnings plus aborted connections
>>> warnings. I have not been able to find any additional information

> in my
>>> search. Am I missing something, or is this all the documentation

> there
>>> is on this?

>> What kind of additional information are you looking about the --W (or
>> --log-warnings=N) option?

>
>
> Thank you for the response.
>
> I was looking for information on how high the level can go - 2? 5? 200?
> - and what types of warnings are logged for a given level?


AFAIK, 2 is the highest. Anything beyond that, is equivalent to it

>> I'd pay attention to aborted connections, as MySQL Network's

> monitoring
>> service actually does do so

>
>
> I'm not sure what you mean by this. Could you clarify?


With a log level of 2 here, you actually get to see aborted connections

--
Colin Charles, Community Engineer
MySQL AB, Melbourne, Australia, www.mysql.com
Mobile: +614 12 593 292 / Skype: colincharles
Web: http://www.bytebot.net/blog/

MySQL Forge: http://forge.mysql.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com