Azion CLI logs
Watch your edge functions logs and edge application’s HTTP events logs through Azion CLI.
Edge functions logs
Section titled Edge functions logsThe azion logs cells
subcommand displays edge functions console logs.
Usage
Section titled UsageExamples
Section titled ExamplesOptional Flags
Section titled Optional Flagsfunction-id
Section titled function-idThe --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.
limit
Section titled limitThe --limit
option defines how many logs will be displayed per request. By default, it’s 100.
pretty
Section titled prettyThe --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.
Edge application HTTP logs
Section titled Edge application HTTP logsThe azion logs http
subcommand displays HTTP event logs.
Examples
Section titled ExamplesOptional Flags
Section titled Optional FlagsThe --help
option displays more information about the logs http
command.
limit
Section titled limitThe --limit
option defines how many logs will be displayed per request. By default, it’s 100.
pretty
Section titled prettyThe --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.