mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 01:49:15 +00:00
Increase log length
This commit is contained in:
parent
fc5a8ae878
commit
d895a8434c
|
@ -47,7 +47,7 @@ def get_service_status_color(service_name):
|
||||||
|
|
||||||
def get_journalctl_log(service_name):
|
def get_journalctl_log(service_name):
|
||||||
try:
|
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:
|
except:
|
||||||
log = "ERROR"
|
log = "ERROR"
|
||||||
return log
|
return log
|
||||||
|
|
Loading…
Reference in New Issue
Block a user