- Documentation
- Observability
- Logs
Logs
Guara Cloud automatically collects and displays logs from your services. You can follow your application’s output directly in the dashboard, without any configuration.
Application logs
Application logs are everything your service writes to standard output (stdout) and standard error (stderr). This includes log messages from your framework, errors, warnings, and any other output generated by your application at runtime.
These logs are automatically collected as soon as the service is deployed.
Viewing logs in real-time
In the dashboard, you can follow your service’s logs in real-time:
- Go to the dashboard and select your project
- Click on the desired service
- Navigate to the Logs tab
- Logs appear in real-time as your application generates new output
The log viewer displays the most recent messages and updates automatically. You can scroll up to see older logs within your plan’s retention period.
Build logs vs application logs
Guara Cloud distinguishes between two types of logs:
- Build logs: generated during the image build process for your service (compilation, dependency installation, etc.). These are useful for diagnosing deploy failures. Build logs are available for 7 days regardless of your plan.
- Application logs: generated by your running service. The retention period depends on your project’s plan.
To access build logs, go to the service’s Deployments page and click on the specific deploy.
Log retention by plan
The retention period determines how long application logs are available for viewing:
| Log type | Hobby | Pro | Business | Enterprise |
|---|---|---|---|---|
| Application logs | 1 day | 7 days | 30 days | 30 days |
| Build logs | Latest build | 7 days | 7 days | 7 days |