Server Logs
Access real-time logs of your deployed Nuxt application.
NuxtHub Admin
When you have a successful deployment, you can access to the logs of the deployment in the NuxtHub Admin.
Logs are available under the Server > Logs
section of your project page. You can also access to the logs of each successful deployment in the Deployments
section.
NuxtHub CLI
Using the NuxtHub CLI, you can access to the logs of both production
and preview
deployments.
By default, the CLI will detect based on the current branch the canonical deployment of your project and stream the logs of that deployment in the CLI.
Terminal
npx nuxthub logs
Production environment
To access the logs of the production environment, you can use the --production
flag.
Terminal
npx nuxthub logs --production
Preview environment
In preview environment, NuxtHub will stream the logs of the latest successful deployment in the CLI.
Terminal
npx nuxthub logs --preview