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