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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user