Skip to content

Commit a94f9fa

Browse files
committed
feat: expand collector logging and improve log viewer UX
Add env-gated lifecycle instrumentation and retention controls in collector, plus app log paging index migration. Update dashboard log viewer with shift-range/double-click selection, latest-jump behavior, clear-all integration, and copy feedback in setup guide.
1 parent 2f9b360 commit a94f9fa

File tree

9 files changed

+600
-68
lines changed

9 files changed

+600
-68
lines changed

.env.example

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,20 @@ DB_PASSWORD=your_secure_password_here
77
CLIPROXY_URL=http://host.docker.internal:8317
88
CLIPROXY_MANAGEMENT_KEY=your-management-secret-key
99

10-
# Collection Settings
11-
COLLECTOR_INTERVAL_SECONDS=300
10+
# Collector intervals (seconds/minutes)
11+
COLLECTOR_INTERVAL_SECONDS=60
12+
CREDENTIAL_SYNC_INTERVAL_SECONDS=60
13+
APP_LOG_CLEANUP_INTERVAL_MINUTES=30
14+
APP_LOG_RETENTION_DAYS=30
15+
16+
# Log verbosity control
17+
LOG_VERBOSITY=normal
18+
LOG_DEBUG_EVENTS=false
19+
LOG_DEBUG_EVENTS_MAX_PER_SYNC=200
1220

1321
# Timezone offset from UTC (default: 7 for Vietnam)
1422
TIMEZONE_OFFSET_HOURS=7
23+
24+
# Frontend polling interval (seconds)
25+
VITE_AUTO_REFRESH_SECONDS=60
26+
VITE_APP_LOGS_PAGE_SIZE=500

0 commit comments

Comments
 (0)