diff --git a/admin/Sources/Clients/ogagent/src/cfg/ogagent.cfg b/admin/Sources/Clients/ogagent/src/cfg/ogagent.cfg index b8442a92..8888e88a 100644 --- a/admin/Sources/Clients/ogagent/src/cfg/ogagent.cfg +++ b/admin/Sources/Clients/ogagent/src/cfg/ogagent.cfg @@ -10,7 +10,7 @@ path=test_modules/server remote=https://192.168.2.10/opengnsys/rest # Log Level, if ommited, will be set to INFO -log=INFO +log=DEBUG # Module specific # The sections must match the module name diff --git a/admin/Sources/Clients/ogagent/src/cfg/ogclient.cfg b/admin/Sources/Clients/ogagent/src/cfg/ogclient.cfg index 4c6594c1..d39fc965 100644 --- a/admin/Sources/Clients/ogagent/src/cfg/ogclient.cfg +++ b/admin/Sources/Clients/ogagent/src/cfg/ogclient.cfg @@ -1,6 +1,6 @@ [opengnsys] # Log Level, if ommited, will be set to INFO -log=INFO +log=DEBUG # Module specific # The sections must match the module name diff --git a/admin/Sources/Clients/ogagent/src/opengnsys/modules/server/OpenGnSys/__init__.py b/admin/Sources/Clients/ogagent/src/opengnsys/modules/server/OpenGnSys/__init__.py index f939eb69..752278b0 100644 --- a/admin/Sources/Clients/ogagent/src/opengnsys/modules/server/OpenGnSys/__init__.py +++ b/admin/Sources/Clients/ogagent/src/opengnsys/modules/server/OpenGnSys/__init__.py @@ -89,7 +89,7 @@ class OpenGnSysWorker(ServerWorker): self.interface = list(operations.getNetworkInfo())[0] # Get first network interface except Exception as e: # Wait 1 sec. and retry - sleep(1) + time.sleep(1) finally: # Exit loop if interface is active if self.interface: