Store to db

This commit is contained in:
2025-08-23 19:23:36 +02:00
parent 1089196226
commit e6f2397da6
45 changed files with 354354 additions and 124 deletions

44
log4jrs.yaml Normal file
View File

@@ -0,0 +1,44 @@
refresh_rate: 120 seconds
appenders:
stdout:
kind: console
target: stdout
encoder:
pattern: "{d(%Y-%m-%d %H:%M:%S)(local)} {l} {t} {h({m})}{n}"
filters:
- kind: target_filter
level: [error, warn]
negation: true
stderr:
kind: console
target: stderr
encoder:
pattern: "{d(%Y-%m-%d %H:%M:%S)(local)} {l} {t} {h({m})}{n}"
filters:
- kind: target_filter
level: [error, warn]
negation: false
no-man-sky-file:
kind: rolling_file
path: "logs/no-man-sky.log"
encoder:
pattern: "{d(%Y-%m-%d %H:%M:%S)(local)} {l} {t} {m}{n}"
policy:
kind: compound
trigger:
kind: time
interval: 1 day
modulate: false
max_random_delay: 0
roller:
kind: fixed_window
base: 1
count: 5
pattern: "logs/no-man-sky.{}.log"
root:
level: info
appenders:
- stdout
- stderr
- no-man-sky-file