feat: Add SHZ log inspection and HighGo database querying capabilities
- Introduced `inspect-shz-logs` skill for inspecting local and production logs with bounded read-only commands. - Added `view.sh` script for log viewing with options for following logs and filtering by keywords. - Created `query-shz-highgo` skill for querying the SHZ HighGo database through an SSH gateway. - Implemented read-only SQL execution with strict controls on allowed statements and query structure. - Added new domain and mapper classes for managing outdoor fair job associations. - Enhanced `OutdoorFairController` to support job listing and management for outdoor fairs. - Created SQL scripts for initializing outdoor fair job data and managing menu visibility.
This commit is contained in:
19
.claude/skills/inspect-shz-logs/references/log-locations.md
Normal file
19
.claude/skills/inspect-shz-logs/references/log-locations.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Log locations
|
||||
|
||||
## Local
|
||||
|
||||
- Main log: `<project>/.local/logs/backend.log`
|
||||
- Producer: `<project>/local.sh`
|
||||
|
||||
## Production: shz
|
||||
|
||||
- SSH: `root@39.98.44.136:6022`
|
||||
- Application: `/opt/service/project/shz-backend/ruoyi-admin/target/ruoyi-admin.jar`
|
||||
- Profile: `dev`
|
||||
- HTTP port: `9091`
|
||||
- Main process log: `/opt/service/project/shz-backend/logs/backend.log`
|
||||
- Current error log: `/opt/service/project/shz-backend/logs/sys-error.log`
|
||||
- Current info log: `/opt/service/project/shz-backend/logs/sys-info.log`
|
||||
- Current user log: `/opt/service/project/shz-backend/logs/sys-user.log`
|
||||
|
||||
Use only the bundled read-only viewer. Rotated files use date suffixes but are intentionally not exposed by the default script.
|
||||
Reference in New Issue
Block a user