Viewing Logs
2 min read
Updated 1 month ago
Accessing Logs
Ploi Cloud provides comprehensive logging capabilities to help you monitor and debug your applications and services.
Types of Logs
Ploi Cloud offers several types of logs:
- Application Logs: Real-time output from your running application
- Build Logs: Complete build process output showing image construction progress
- Deployment Logs: Historical deployment records preserved even after completion
- Service Logs: Real-time logs from databases, caches, and other services
Viewing Application Logs
- Navigate to your application in the dashboard
- Click the "Logs" tab
- View logs from different sources using the tabs at the top
The log viewer displays real-time logs with status information and restart counts when applicable.
Log Search and Navigation
The built-in log viewer provides:
- Search: Real-time search with highlighting
- Auto-scroll: Automatically follows new log entries
- Download: Export logs as text files
- Color coding: Automatic highlighting of errors (red), warnings (yellow), success (green), and info (blue)
Search is case-insensitive and highlights matching text in yellow.
Build and Deployment Logs
Build logs are automatically saved and remain accessible after builds complete:
- Go to your application
- Navigate to the "Deployments" section
- Click on any deployment to view its build logs
Service Logs
View real-time logs for individual services:
- From your application dashboard
- Find the service in the Services section
- Click "View Logs" to open the service log viewer
The viewer displays service status information and real-time log streaming.
Technical Details
- Logs stream in real-time with updates every 2-4 seconds
- Build logs are preserved in deployment history
- Application and service logs show live output
- Log data is automatically sanitized for security
- Logs are available as long as services are running
Best Practices
- Monitor restart counts to identify stability issues
- Check build logs when deployments fail
- Review service logs for database or cache connection issues
- Consider external log aggregation services for long-term retention and advanced analytics