v1.5 - Python script appends current log
This commit is contained in:
parent
f417518171
commit
f0fbf9b775
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ with open("/custom-services.d/ARLChecker", "r") as r:
|
||||||
VERSION = re.search(r'"([A-Za-z0-9_\./\\-]*)"', line)[0].replace('"','')
|
VERSION = re.search(r'"([A-Za-z0-9_\./\\-]*)"', line)[0].replace('"','')
|
||||||
|
|
||||||
# Get current log file
|
# Get current log file
|
||||||
path = '\config\logs'
|
path = '/config/logs'
|
||||||
latest_file = max([os.path.join(path, f) for f in os.listdir(path) if 'ARLChecker' in f],key=os.path.getctime)
|
latest_file = max([os.path.join(path, f) for f in os.listdir(path) if 'ARLChecker' in f],key=os.path.getctime)
|
||||||
|
|
||||||
# Logging Setup
|
# Logging Setup
|
||||||
|
|
Loading…
Reference in a new issue