Logging¶
This page outlines logging options for Open edX instances on the cluster.
Kubernetes Logs¶
By default, container stdout/stderr are captured by the container runtime and can be viewed with kubectl logs.
Log retention is typically limited by node disk and cluster configuration; old logs may be rotated away.
Application-level Logging¶
Open edX services write logs to stdout. Log level and format are controlled by application settings (e.g. Django LOGGING, Celery, or environment variables). Adjust these in the instance configuration or in custom settings if you need different verbosity or structure.
To get the application logs, use:
kubectl logs deployments/<service> -n <instance-name>
Related Documentation¶
- Instances Overview - Instance lifecycle
- Tracking Logs - Using
kubectl logsand following logs - Cluster Monitoring - Grafana and Prometheus
- Debugging - Using logs for troubleshooting
See Also¶
- Instance Monitoring - Metrics and health
- Configuration - Application log settings
- Infrastructure Overview - Cluster components