fixing logging and html rendering

This commit is contained in:
Remi Hardy
2020-09-08 10:10:27 +02:00
parent e3264917ce
commit 20ee6ca67c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ class CotsUe:
logging.error("ATTENTION : Could not toggle to : "+target_state_str)
logging.error("Current state is : "+ str(current_state))
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.close()
#ue id is NOT in the dictionary
+1 -1
View File
@@ -990,5 +990,5 @@ class RANManagement():
logging.debug(systemTime)
logging.debug(maxPhyMemUsage)
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