1
0
mirror of https://github.com/thingsboard/thingsboard-gateway synced 2025-10-26 22:31:42 +08:00

Improvements for installation and logs.

This commit is contained in:
zbeacon
2019-12-02 16:10:01 +02:00
parent 470504b8a4
commit c7252b4c1c
16 changed files with 45 additions and 56 deletions

View File

@@ -40,7 +40,6 @@ class TBGatewayService:
with open(config_file) as config:
config = yaml.safe_load(config)
self.__config_dir = path.dirname(path.abspath(config_file))+'/'
TBUtility.check_logs_directory(self.__config_dir+"logs.conf")
logging.config.fileConfig(self.__config_dir+"logs.conf")
global log
log = logging.getLogger('service')