wheels server log
Tail the Wheels development server logs.
Synopsis
Description
The wheels server log
command displays and follows the server log output, making it easy to monitor your application's behavior and debug issues.
Options
name
name
Type: String
Description: Name of the server whose logs to display
Example:
wheels server log name=myapp
--follow
--follow
Type: Boolean flag
Default:
true
Description: Follow log output (like tail -f)
Example:
wheels server log --follow
lines
lines
Type: Numeric
Default:
50
Description: Number of lines to show initially
Example:
wheels server log lines=100
--debug
--debug
Type: Boolean flag
Description: Show debug-level logging
Example:
wheels server log --debug
Examples
Log Information
The logs typically include:
HTTP request/response information
Application errors and stack traces
Database queries (if enabled)
Custom application logging
Server startup/shutdown messages
Keyboard Shortcuts
Ctrl+C - Stop following logs and return to command prompt
Ctrl+L - Clear the screen (while following)
Notes
By default, the command follows log output (similar to
tail -f
)Use
--debug
to see more detailed logging informationThe number of initial lines shown can be customized with the
lines
parameterLogs are stored in the CommandBox server's log directory
Related Commands
wheels server start
- Start the serverwheels server status
- Check server statuswheels test debug
- Debug mode for tests
See Also
Last updated
Was this helpful?