Contents

log

The log command allows you to view logs from your app. If no context/remote is provided, the "default" remote is assumed.

Usage

# Patterns

# Viewing Historical Stats
nanobox log <local | dry-run | remote> -c <count>
# Streaming Logs
nanobox log <local | dry-run | remote> -l

# Examples

# Viewing Historical Stats
nanobox log production -c 1000
# Streaming Logs
nanobox log local -l

Options

-a, --app

Specifies the app-name or remote. If no app-name or remote is provided, it uses the "default" remote.

-c, --count

Specifies the number of historical log entries to output.

-l, --live

Opens a live output stream of your app's logs.

Reach out to help@nanobox.io and we'll try to help.