CLI Reference

runnem log

View logs for a specific service.

Usage

runnem log <service>

Description

The log command shows the logs for a specified service. It can display:

  • Live logs for running services
  • Last known logs for stopped services
  • Startup errors if a service failed to start

Examples

# View logs for the API service
runnem log api

# View logs for the frontend service
runnem log frontend

Log Types

Running Service Logs

  • Shows live output from the service
  • Updates in real-time
  • Press Ctrl+A, Ctrl+D to detach

Failed Service Logs

⚠️ api is not running.

Last known logs:
----------------------------------------
Error: Could not bind to port 3000
Port is already in use
----------------------------------------

Best Practices

  1. Check logs when services fail to start
  2. Monitor logs during development
  3. Use logs for debugging issues
  4. Keep log files for troubleshooting
Previous
runnem list