#718: Volver a poner nivel de log por defecto a {{{DEBUG}}} para OGAgent.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5244 a21b9725-9963-47de-94b9-378ad31fedc9oglive
parent
75ba20c026
commit
02399e9dd4
|
@ -10,7 +10,7 @@ path=test_modules/server
|
||||||
remote=https://192.168.2.10/opengnsys/rest
|
remote=https://192.168.2.10/opengnsys/rest
|
||||||
|
|
||||||
# Log Level, if ommited, will be set to INFO
|
# Log Level, if ommited, will be set to INFO
|
||||||
log=INFO
|
log=DEBUG
|
||||||
|
|
||||||
# Module specific
|
# Module specific
|
||||||
# The sections must match the module name
|
# The sections must match the module name
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[opengnsys]
|
[opengnsys]
|
||||||
# Log Level, if ommited, will be set to INFO
|
# Log Level, if ommited, will be set to INFO
|
||||||
log=INFO
|
log=DEBUG
|
||||||
|
|
||||||
# Module specific
|
# Module specific
|
||||||
# The sections must match the module name
|
# The sections must match the module name
|
||||||
|
|
|
@ -89,7 +89,7 @@ class OpenGnSysWorker(ServerWorker):
|
||||||
self.interface = list(operations.getNetworkInfo())[0] # Get first network interface
|
self.interface = list(operations.getNetworkInfo())[0] # Get first network interface
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# Wait 1 sec. and retry
|
# Wait 1 sec. and retry
|
||||||
sleep(1)
|
time.sleep(1)
|
||||||
finally:
|
finally:
|
||||||
# Exit loop if interface is active
|
# Exit loop if interface is active
|
||||||
if self.interface:
|
if self.interface:
|
||||||
|
|
Loading…
Reference in New Issue