pull/1/head
Rui Carmo 2016-03-29 21:22:19 +01:00
rodzic 36e7c238be
commit 9cf8c59951
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -230,7 +230,7 @@ def list_apps():
def tail_logs(app):
"""Tail an application log"""
app = sanitize_app_name(app)
logfile = join(LOG_ROOT, app)
logfile = join(LOG_ROOT, "%s.log" % app)
if exists(logfile):
call('tail -F %s' % logfile, cwd=LOG_ROOT, shell=True)
else: