nb db logs

View built-in database container logs for a selected env. This command only applies to envs created with a CLI-managed built-in database.

Usage

nb db logs [flags]

Parameters

ParameterTypeDescription
--env, -estringCLI env name whose built-in database logs should be shown; 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 db logs
nb db logs --env app1
nb db logs --env app1 --tail 200
nb db logs --env app1 --no-follow