view_server_logs
Retrieve and analyze recent virtual server logs with customizable filters for lines, order, log level, and timestamps. Supports enhanced debugging and complete mode for comprehensive log retrieval.
Instructions
View recent entries from the virtual server log with enhanced options
Input Schema
Name | Required | Description | Default |
---|---|---|---|
begin_pos | No | Starting position in log file (optional) | |
complete_mode | No | Enable complete mode - retrieve ALL logs by paginating automatically (default: false) | |
enhanced_debug | No | Enable enhanced debugging information (default: false) | |
instance_log | No | Show instance log instead of virtual server log (default: false) | |
lines | No | Number of log lines to retrieve (1-100, default: 50) | |
log_level | No | Log level (1=ERROR, 2=WARNING, 3=DEBUG, 4=INFO) | |
max_iterations | No | Maximum pagination iterations in complete mode (default: 1000, protection against infinite loops) | |
reverse | No | Show logs in reverse order (newest first, default: true) | |
timestamp_from | No | Unix timestamp for log entries from (optional) | |
timestamp_to | No | Unix timestamp for log entries to (optional) |