Add basic logging

This commit is contained in:
2026-04-22 12:47:17 +05:30
parent 204b12d5f7
commit 9578502bca
17 changed files with 1385 additions and 238 deletions
+19
View File
@@ -39,3 +39,22 @@ ASK262_EMBEDDING_PROVIDER=ollama
# Required when running behind a reverse proxy or in production
# Example: https://ask262.bendtherules.in or https://your-server.com
# MCP_PUBLIC_URL=http://localhost:8081
# =============================================================================
# LOGGING CONFIGURATION
# =============================================================================
# Log level: trace, debug, info, warn, error
# HTTP server defaults to 'debug', stdio server defaults to 'info'
# ASK262_LOG_LEVEL=info
# Directory for log files (optional, defaults to ./logs)
# ASK262_LOG_DIR=./logs
# Max log file size in MB before rotation (optional, defaults to 100)
# System logrotate handles rotation, this is for reference
# ASK262_LOG_MAX_SIZE=100
# Days to keep rotated logs before deletion (optional, defaults to 30)
# Set to 0 to keep forever
# ASK262_LOG_RETENTION_DAYS=30