fly logs command.
Use flyctl to view logs in your terminal
Thefly logs command prints the most recent app logs and then tails the current logs in real-time. This is useful for watching logs during deployment or when running other commands. You can open a new terminal window and run this command in an app’s source directory, or use the --app option to specify an app:
ctrl + c.
You can filter the log output by Machine or region. For example, use the Machine ID with the --instance option to see logs for that Machine only:
fly logs help or docs for option details.
Use flyctl to activate debug logging for a command
LOG_LEVEL=debug prints all the logs into the console as a command runs. To activate debug logging for fly deploy run: