title | description | meta_tags | namespace | menu_namespace | permalink |
---|---|---|---|---|---|
Azion CLI logs |
Watch your edge functions and edge application's HTTP events logs through Azion CLI. |
cli, next, javascript, astro, vue, react, edge computing |
documentation_cli_logs |
cliMenuAlpha |
/documentation/devtools/cli/logs/ |
Watch your edge functions logs and edge application's HTTP events logs through Azion CLI.
The azion logs cells
subcommand displays edge functions console logs.
azion logs cells [flags]
azion logs cells
azion logs cells --tail
azion logs cells --function-id 1234 --limit 10
The --function-id
flag specifies the ID of the function you wish to see the logs for. If not informed, logs for all functions will be displayed.
The --help
option displays more information about the azion logs cells
command.
The --limit
option defines how many logs will be displayed per request. By default, it's 100.
The --pretty
option displays the logs in a prettified way, making it easier to read and analyze.
The --tail
option displays the logs continuously, similar to the tail -f
command in Unix-like operating systems. This is useful for monitoring logs in real time.
:::note This command returns the logs from the last 5 minutes. :::
The azion logs http
subcommand displays HTTP event logs.
azion logs http
azion logs http --tail
The --help
option displays more information about the logs http
command.
The --limit
option defines how many logs will be displayed per request. By default, it's 100.
The --pretty
option displays the logs in a prettified view, making it easier to read and analyze.
The --tail
option displays the logs continuously, similar to the tail -f
command in Unix-like operating systems. This is useful for monitoring logs in real-time.
:::note This command returns the logs from the last 5 minutes. :::