diff --git a/pylsp/__main__.py b/pylsp/__main__.py index 065cdee9..bbc6986e 100644 --- a/pylsp/__main__.py +++ b/pylsp/__main__.py @@ -5,6 +5,7 @@ import logging import logging.config import sys +import time try: import ujson as json @@ -14,7 +15,8 @@ from .python_lsp import (PythonLSPServer, start_io_lang_server, start_tcp_lang_server) -LOG_FORMAT = "%(asctime)s UTC - %(levelname)s - %(name)s - %(message)s" +LOG_FORMAT = "%(asctime)s {0} - %(levelname)s - %(name)s - %(message)s".format( + time.localtime().tm_zone) def add_arguments(parser):