nb app logs

View app logs. npm/Git installations read pm2 logs; Docker installations read Docker container logs.

Usage

nb app logs [flags]

Parameters

ParameterTypeDescription
--env, -estringCLI env name to view logs for; uses the current env if omitted
--tailintegerNumber of recent log lines to show before following, default 100
--follow, -f / --no-followbooleanWhether to keep following new log output

Examples

nb app logs
nb app logs --env app1
nb app logs --env app1 --tail 200
nb app logs --env app1 --no-follow