Commit 20ee6ca6 authored by Remi Hardy's avatar Remi Hardy

fixing logging and html rendering

parent e3264917
...@@ -102,7 +102,7 @@ class CotsUe: ...@@ -102,7 +102,7 @@ class CotsUe:
logging.error("ATTENTION : Could not toggle to : "+target_state_str) logging.error("ATTENTION : Could not toggle to : "+target_state_str)
logging.error("Current state is : "+ str(current_state)) logging.error("Current state is : "+ str(current_state))
else: else:
print("Airplane mode is already "+ target_state_str) logging.info("Airplane mode is already "+ target_state_str)
mySSH.command('adb kill-server','\$',5) mySSH.command('adb kill-server','\$',5)
mySSH.close() mySSH.close()
#ue id is NOT in the dictionary #ue id is NOT in the dictionary
......
...@@ -990,5 +990,5 @@ class RANManagement(): ...@@ -990,5 +990,5 @@ class RANManagement():
logging.debug(systemTime) logging.debug(systemTime)
logging.debug(maxPhyMemUsage) logging.debug(maxPhyMemUsage)
logging.debug(nbContextSwitches) logging.debug(nbContextSwitches)
self.runtime_stats=runTime + '\n' + userTime + '\n' + systemTime + '\n' + maxPhyMemUsage + '\n' + nbContextSwitches self.runtime_stats='<pre>'+runTime + '\n'+ userTime + '\n' + systemTime + '\n' + maxPhyMemUsage + '\n' + nbContextSwitches+'</pre>'
return global_status return global_status
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment