diff --git a/pyls/__main__.py b/pyls/__main__.py index 6440085f..1b7fd04a 100644 --- a/pyls/__main__.py +++ b/pyls/__main__.py @@ -3,6 +3,7 @@ import logging import logging.config import sys +import time try: import ujson as json @@ -12,7 +13,8 @@ from .python_ls import (PythonLanguageServer, start_io_lang_server, start_tcp_lang_server) -LOG_FORMAT = "%(asctime)s UTC - %(levelname)s - %(name)s - %(message)s" +LOG_FORMAT = "%(asctime)s {} - %(levelname)s - %(name)s - %(message)s".format( + time.localtime().tm_zone) def add_arguments(parser):