convert to gitea

This commit is contained in:
2025-09-15 13:33:34 +09:00
commit 95882ac072
277 changed files with 46023 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{
"json_file_path": "/pcinfo",
"db_config_path": "config/db.enc"
}

View File

@ -0,0 +1 @@
<EFBFBD><EFBFBD><EFBFBD>?a&<26><>@<03>̯<EFBFBD><CCAF><1B>#<23>1,9<>K<EFBFBD>j=<3D>2Oͧ?Ű昩<C5B0>H<EFBFBD><48><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%<25><>KQ(<28><><EFBFBD>5<><1D>ʰl<CAB0><6C>䶫583

View File

@ -0,0 +1,48 @@
# config/log4rs.yaml
appenders:
console:
kind: console
target: stdout
encoder:
# 파일명({f})과 라인번호({L}) 추가
pattern: "{d(%Y-%m-%d %H:%M:%S)} [{h({l:<5})}] {({t})} [{f}:{L}] - {m}{n}"
info_file:
kind: file
path: "logs/info.log"
append: true
encoder:
# 파일명({f})과 라인번호({L}) 추가
pattern: "{d(%Y-%m-%d %H:%M:%S)} [{l:<5}] {({t})} [{f}:{L}] - {m}{n}"
filters:
- kind: threshold
level: info
error_file:
kind: file
path: "logs/error.log"
append: true
encoder:
# 파일명({f})과 라인번호({L}) 추가 (기존에도 있었음)
pattern: "{d(%Y-%m-%d %H:%M:%S)} [{l:<5}] {({t})} [{f}:{L}] - {m}{n}"
filters:
- kind: threshold
level: error
root:
level: info # 또는 debug 등 필요 레벨
appenders:
- console
- info_file
- error_file
# 특정 모듈에 다른 로깅 레벨 적용 가능 (선택 사항)
# loggers:
# gyber::db: # 예시: gyber::db 모듈은 DEBUG 레벨까지 출력
# level: debug
# appenders:
# - console
# - info_file
# - error_file
# additivity: false # true면 root 설정도 상속받음, false면 이 설정만 적용