From: <jU...@us...> - 2008-07-12 11:08:48
|
Revision: 586 http://fclient.svn.sourceforge.net/fclient/?rev=586&view=rev Author: jUrner Date: 2008-07-12 04:08:48 -0700 (Sat, 12 Jul 2008) Log Message: ----------- added extra debug level for messages Modified Paths: -------------- trunk/fclient/src/fclient/lib/fcp2/consts.py Modified: trunk/fclient/src/fclient/lib/fcp2/consts.py =================================================================== --- trunk/fclient/src/fclient/lib/fcp2/consts.py 2008-07-12 11:08:08 UTC (rev 585) +++ trunk/fclient/src/fclient/lib/fcp2/consts.py 2008-07-12 11:08:48 UTC (rev 586) @@ -102,6 +102,7 @@ """Consts indicating the verbosity level for debugging""" Chatty = logging.DEBUG - 1 Debug = logging.DEBUG + Message = logging.INFO -1 Info = logging.INFO Warning = logging.WARNING Error = logging.ERROR @@ -231,8 +232,9 @@ IOHandler =logging.getLogger('Fcp.Client.IOHandler') IO =logging.getLogger('Fcp.Client.IOHandler.IO') Message = logging.getLogger('Fcp.Client.Message') -logging.addLevelName(ConstDebugVerbosity.Chatty, 'chatty') -logging.addLevelName(ConstDebugVerbosity.Quiet, 'quiet') +logging.addLevelName(ConstDebugVerbosity.Chatty, 'CHATTY') +logging.addLevelName(ConstDebugVerbosity.Quiet, 'QUIET') +logging.addLevelName(ConstDebugVerbosity.Message, 'MESSAGE') logging.basicConfig(stream=sys.stdout, level=logging.DEBUG) class ConstLogMessages: @@ -241,7 +243,7 @@ Connecting = 'connecting' Connected = 'connected to node' ConnectingFailed = 'connecting to node failed' - Retry = 'Retrying' + RetryingConnect = 'Retrying to connect' Closing = 'Closing' Sending = 'Sending' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |