doctl serverless activations logs [<activationId>] [flags]
Use doctl serverless activations logs
to retrieve the logs portion of one or more activation records
with various options, such as selecting by package or function, and optionally watching continuously
for new arrivals.
Option | Description |
---|---|
--follow
|
Fetch logs continuously
Default: false
|
--function
, -f
|
Fetch logs for a specific function |
--help
, -h
|
Help for this command |
--last
, -l
|
Fetch the most recent activation logs (default)
Default: false
|
--limit
, -n
|
Fetch the last LIMIT activation logs (up to 200)
Default: 1
|
--package
, -p
|
Fetch logs for a specific package |
--strip
, -r
|
strip timestamp information and output first line only
Default: false
|
Command | Description |
---|---|
doctl serverless activations | Work with activation records |
Option | Description |
---|---|
--access-token , -t
|
API V2 access token |
--api-url , -u
|
Override default API endpoint |
--config , -c
|
Specify a custom config file
Default:
|
--context
|
Specify a custom authentication context name |
--interactive
|
Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false
|
--output , -o
|
Desired output format [text|json]
Default: text
|
--trace
|
Show a log of network activity while performing a command
Default: false
|
--verbose , -v
|
Enable verbose output
Default: false
|