Increase log length

This commit is contained in:
Taylor Helsper 2021-04-16 00:24:13 -05:00
parent fc5a8ae878
commit d895a8434c

View File

@ -47,7 +47,7 @@ def get_service_status_color(service_name):
def get_journalctl_log(service_name):
try:
log = subprocess.check_output("journalctl -r --unit={} --no-pager | head -n 200".format(service_name), shell=True).decode("utf8")
log = subprocess.check_output("journalctl -r --unit={} --no-pager | head -n 300".format(service_name), shell=True).decode("utf8")
except:
log = "ERROR"
return log