Initial commit: LogMaster with Viewer Collector Monitor modes
This commit is contained in:
24
.env.example
Normal file
24
.env.example
Normal file
@@ -0,0 +1,24 @@
|
||||
# Log Viewer - Environment Configuration
|
||||
# ========================================
|
||||
|
||||
# Log sources - comma-separated list of file paths or glob patterns
|
||||
# Supports: .log, .txt, plain files (no extension), .gz, .bz2, .xz, .zst
|
||||
LOG_SOURCES=/var/log/syslog,/var/log/auth.log,/tmp/myapp/*.log
|
||||
|
||||
# Optional: Refresh interval in milliseconds (default: 2000)
|
||||
LOG_REFRESH_INTERVAL=2000
|
||||
|
||||
# Optional: Maximum lines to load per file (default: 50000)
|
||||
LOG_MAX_LINES=50000
|
||||
|
||||
# Optional: Default theme (dark or light, default: dark)
|
||||
LOG_THEME=dark
|
||||
|
||||
# Optional: Default log level filter (ALL, DEBUG, INFO, WARN, ERROR, FATAL)
|
||||
LOG_DEFAULT_LEVEL=ALL
|
||||
|
||||
# Optional: Enable tail mode by default (true/false, default: true)
|
||||
LOG_TAIL_MODE=true
|
||||
|
||||
# Optional: Custom timestamp format regex for parsing
|
||||
# LOG_TIMESTAMP_REGEX=\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}:\d{2}
|
||||
Reference in New Issue
Block a user