diff --git a/shadowsocks/shell.py b/shadowsocks/shell.py index babac98..ed0cc42 100644 --- a/shadowsocks/shell.py +++ b/shadowsocks/shell.py @@ -283,7 +283,7 @@ def get_config(is_local): level = logging.INFO verbose = config['verbose'] logging.basicConfig(level=level, - format='%(asctime)s %(levelname)-8s %(message)s', + format='%(asctime)s %(levelname)-8s %(filename)s:%(lineno)s %(message)s', datefmt='%Y-%m-%d %H:%M:%S') check_config(config, is_local)