Back to Reflex

Logs

docs/hosting/logs.md

0.9.71.4 KB
Original Source
python
import reflex as rx

Logs

View Logs

To view the app logs follow the arrow in the image below and press on the Logs dropdown.

python
rx.image(
    src="https://web.reflex-assets.dev/other/view_logs.webp",
    alt="Viewing app logs in Reflex Cloud",
    padding_bottom="20px",
)
md
# CLI Command to view logs
`reflex cloud apps logs [OPTIONS] [APP_ID]`

View Deployment Logs and Deployment History

To view the deployment history follow the arrow in the image below and press on the Deployments.

python
rx.image(
    src="https://web.reflex-assets.dev/other/view_deployment_logs.webp",
    alt="Viewing deployment logs in Reflex Cloud",
)

This brings you to the page below where you can see the deployment history of your app. Click on deployment you wish to explore further.

python
rx.image(
    src="https://web.reflex-assets.dev/other/view_deployment_logs_2.webp",
    alt="Deployment logs and history in Reflex Cloud",
    padding_bottom="20px",
)
md
# CLI Command to view deployment history
`reflex cloud apps history [OPTIONS] [APP_ID]`

This brings you to the page below where you can view the deployment logs of your app by clicking the Build logs dropdown.

python
rx.image(
    src="https://web.reflex-assets.dev/other/view_deployment_logs_3.webp",
    alt="CLI command to view deployment history",
)