bug fix: logger

pull/1/head
Steve Nyemba 7 months ago
parent b1975d6a42
commit a42ee59129

@ -1,6 +1,6 @@
__app_name__ = 'data-transport' __app_name__ = 'data-transport'
__author__ = 'The Phi Technology' __author__ = 'The Phi Technology'
__version__= '2.4.22' __version__= '2.4.24'
__edition__= 'enterprise' __edition__= 'enterprise'
__email__ = "info@the-phi.com" __email__ = "info@the-phi.com"
__license__=f""" __license__=f"""

@ -61,7 +61,7 @@ class IO(BaseIO):
# self._logger = getattr(_agent,'_logger') # self._logger = getattr(_agent,'_logger')
self._agent = _agent self._agent = _agent
_date = _date = str(datetime.now()) _date = _date = str(datetime.now())
self._ixloader = plugin_ix.Loader () self._ixloader = plugin_ix.Loader (registry=plugin_ix.Registry(folder=transport.registry.REGISTRY_PATH))
# self._logTable = 'logs' #'_'.join(['logs',_date[:10]+_date[11:19]]).replace(':','').replace('-','_') # self._logTable = 'logs' #'_'.join(['logs',_date[:10]+_date[11:19]]).replace(':','').replace('-','_')
@ -302,3 +302,4 @@ class IETL(BaseIO) :
pass pass
self.log(action=_action,object=writer._agent.__module__, input= _input) self.log(action=_action,object=writer._agent.__module__, input= _input)

Loading…
Cancel
Save