From b3fa5afe3aad61a269ab2e375e696dcff60b88ca Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 15 Jun 2018 14:58:07 +0200 Subject: [PATCH] First show apptask logs, then app logs --- src/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.js b/src/apps.js index 5d92ee49d..be9efac8b 100644 --- a/src/apps.js +++ b/src/apps.js @@ -827,8 +827,8 @@ function getLogs(appId, options, callback) { var args = [ '--lines=' + lines ]; if (follow) args.push('--follow', '--retry', '--quiet'); // same as -F. to make it work if file doesn't exist, --quiet to not output file headers, which are no logs - args.push(path.join(paths.LOG_DIR, appId, 'app.log')); args.push(path.join(paths.LOG_DIR, appId, 'apptask.log')); + args.push(path.join(paths.LOG_DIR, appId, 'app.log')); var cp = spawn('/usr/bin/tail', args);