Commit 64058d84 authored by Robert Schmidt's avatar Robert Schmidt

Don't execute ls on files to analyze (is useless)

parent b0e3867a
...@@ -738,9 +738,6 @@ class Containerize(): ...@@ -738,9 +738,6 @@ class Containerize():
# Analyzing log file! # Analyzing log file!
filename = self.yamlPath[0] + '/rfsim?g-oai-*.log' # 4g/enb, 5g/gnb, 5g/-du/-cu filename = self.yamlPath[0] + '/rfsim?g-oai-*.log' # 4g/enb, 5g/gnb, 5g/-du/-cu
logging.debug('\u001B[1m Analyzing xNB logfile \u001B[0m ' + filename) logging.debug('\u001B[1m Analyzing xNB logfile \u001B[0m ' + filename)
cmd = 'ls ' + filename
logfileLs = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=5)
logging.debug(logfileLs)
# For the moment just assume this exists # For the moment just assume this exists
logStatus = RAN.AnalyzeLogFile_eNB(filename, HTML) logStatus = RAN.AnalyzeLogFile_eNB(filename, HTML)
if (logStatus < 0): if (logStatus < 0):
......
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