feat: Add logging configuration to support dynamic log levels in config files
This commit is contained in:
@@ -33,6 +33,9 @@ backups:
|
||||
exports:
|
||||
path: "exports"
|
||||
|
||||
logging:
|
||||
level: "DEBUG" # DEBUG, INFO, WARNING, ERROR, CRITICAL
|
||||
|
||||
database:
|
||||
path: "data/krawl.db"
|
||||
retention_days: 30
|
||||
|
||||
@@ -2,8 +2,8 @@ apiVersion: v2
|
||||
name: krawl-chart
|
||||
description: A Helm chart for Krawl honeypot server
|
||||
type: application
|
||||
version: 1.0.9
|
||||
appVersion: 1.0.9
|
||||
version: 1.0.10
|
||||
appVersion: 1.0.10
|
||||
keywords:
|
||||
- honeypot
|
||||
- security
|
||||
|
||||
@@ -28,6 +28,8 @@ data:
|
||||
enabled: {{ .Values.config.backups.enabled }}
|
||||
exports:
|
||||
path: {{ .Values.config.exports.path | quote }}
|
||||
logging:
|
||||
level: {{ .Values.config.logging.level | quote }}
|
||||
database:
|
||||
path: {{ .Values.config.database.path | quote }}
|
||||
retention_days: {{ .Values.config.database.retention_days }}
|
||||
|
||||
@@ -86,10 +86,12 @@ config:
|
||||
secret_path: null # Auto-generated if not set, or set to "/my-secret-dashboard"
|
||||
backups:
|
||||
path: "backups"
|
||||
enabled: true
|
||||
enabled: false
|
||||
cron: "*/30 * * * *"
|
||||
exports:
|
||||
path: "exports"
|
||||
logging:
|
||||
level: "INFO" # DEBUG, INFO, WARNING, ERROR, CRITICAL
|
||||
database:
|
||||
path: "data/krawl.db"
|
||||
retention_days: 30
|
||||
|
||||
Reference in New Issue
Block a user