upgrade wakatime package to v2.0.4 to prevent logging namespace conflicts

This commit is contained in:
Alan Hamlett 2014-07-25 01:01:39 -07:00
parent c863bde54a
commit d2a996e845
11 changed files with 12 additions and 12 deletions

View file

@ -13,7 +13,7 @@
from __future__ import print_function from __future__ import print_function
__title__ = 'wakatime' __title__ = 'wakatime'
__version__ = '2.0.3' __version__ = '2.0.4'
__author__ = 'Alan Hamlett' __author__ = 'Alan Hamlett'
__license__ = 'BSD' __license__ = 'BSD'
__copyright__ = 'Copyright 2014 Alan Hamlett' __copyright__ = 'Copyright 2014 Alan Hamlett'
@ -52,7 +52,7 @@ except:
from .packages import tzlocal3 from .packages import tzlocal3
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
class FileAction(argparse.Action): class FileAction(argparse.Action):

View file

@ -73,7 +73,7 @@ def set_log_level(logger, args):
def setup_logging(args, version): def setup_logging(args, version):
logger = logging.getLogger() logger = logging.getLogger('WakaTime')
set_log_level(logger, args) set_log_level(logger, args)
if len(logger.handlers) > 0: if len(logger.handlers) > 0:
formatter = JsonFormatter(datefmt='%Y/%m/%d %H:%M:%S %z') formatter = JsonFormatter(datefmt='%Y/%m/%d %H:%M:%S %z')

View file

@ -19,7 +19,7 @@ from .projects.subversion import Subversion
from .projects.wakatime import WakaTime from .projects.wakatime import WakaTime
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
# List of plugin classes to find a project for the current file path. # List of plugin classes to find a project for the current file path.

View file

@ -13,7 +13,7 @@ import logging
import os import os
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
class BaseProject(object): class BaseProject(object):

View file

@ -15,7 +15,7 @@ import os
from .base import BaseProject from .base import BaseProject
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
# str is unicode in Python3 # str is unicode in Python3

View file

@ -15,7 +15,7 @@ import os
from .base import BaseProject from .base import BaseProject
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
# str is unicode in Python3 # str is unicode in Python3

View file

@ -26,7 +26,7 @@ import os
from .base import BaseProject from .base import BaseProject
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
# str is unicode in Python3 # str is unicode in Python3

View file

@ -21,7 +21,7 @@ except ImportError:
from ..packages.ordereddict import OrderedDict from ..packages.ordereddict import OrderedDict
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
# str is unicode in Python3 # str is unicode in Python3

View file

@ -17,7 +17,7 @@ import os
from .base import BaseProject from .base import BaseProject
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
# str is unicode in Python3 # str is unicode in Python3

View file

@ -22,7 +22,7 @@ except ImportError:
HAS_SQL = False HAS_SQL = False
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
class Queue(object): class Queue(object):

View file

@ -20,7 +20,7 @@ else:
from pygments.lexers import guess_lexer_for_filename from pygments.lexers import guess_lexer_for_filename
log = logging.getLogger(__name__) log = logging.getLogger('WakaTime')
# force file name extensions to be recognized as a certain language # force file name extensions to be recognized as a certain language