# Log Viewer - COLLECTOR MODE LOG_MODE=collector PORT=8081 HOST=0.0.0.0 # UDP receiver COLLECTOR_UDP_ENABLED=true COLLECTOR_UDP_PORT=5140 # Storage COLLECTOR_STORAGE_DIR=./collector-data COLLECTOR_MAX_LINES=100000 COLLECTOR_MAX_STREAMS=50 COLLECTOR_PERSIST=true # Rotation (what triggers first) COLLECTOR_ROTATION_MAX_SIZE=5242880 COLLECTOR_ROTATION_MAX_AGE=600000 COLLECTOR_ROTATION_COMPRESSION=gzip COLLECTOR_ROTATION_EXTENSION=.log # Forward targets (JSON array) # COLLECTOR_FORWARD_TARGETS=[{"type":"http","url":"http://other-server:8080/collect/forwarded","format":"json"},{"type":"file","path":"./forwarded.log"},{"type":"console"}] COLLECTOR_FORWARD_TARGETS=[{"type":"console"}]