list_logs
SSH into a server and list all log files under a specified app directory, including size and last-modified time, to identify relevant logs before deep analysis.
Instructions
SSH to a server and enumerate every file under //logs/ (Liberty's own messages.log/console.log/trace.log/ffdc/*, plus any app-written logs in subdirectories), with size, last-modified time, and a rough category for each. Call this first, then pass the relevant paths as log_files to analyze_logs - avoids blindly grepping every file (trace.log especially can be huge).
Args:
server_ip: Hostname or IP address of the server to connect to over SSH.
os_user: SSH username to authenticate as.
ssh_key: Path to the private key file (on this machine) used for authentication.
deployment_directory: Base deployment directory containing the application folder.
application: Name of the application subfolder whose logs/ directory to list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os_user | Yes | ||
| ssh_key | Yes | ||
| server_ip | Yes | ||
| application | Yes | ||
| deployment_directory | Yes |