Logs
fm logs¶
Show bench logs (server or container).
View logs from bench services (frappe, nginx, redis, etc.) with optional follow mode.
Usage:
Arguments:
BENCHNAME: Name of the bench.
Options:
--service: Service name (frappe, nginx, redis-cache, etc.)-f, --follow: Follow logs in real-time
Examples¶
Show frappe server logs¶
Displays the frappe service logs for the bench; useful to inspect server output and errors.
Follow logs in real-time¶
Streams logs continuously; press Ctrl+C to stop following.
Show nginx container logs¶
Shows the nginx container logs for the bench and follows them in real-time when -f is provided.
Show redis logs¶
Displays logs from redis-cache service; helpful when debugging caching or queuing issues.