f
This commit is contained in:
31
config.yaml
31
config.yaml
@@ -697,6 +697,37 @@ nuoer:
|
||||
use_daily: true
|
||||
enable_level_separation: true
|
||||
# 各级别配置
|
||||
level_configs:
|
||||
info:
|
||||
max_size: 100
|
||||
max_backups: 5
|
||||
max_age: 30
|
||||
compress: true
|
||||
error:
|
||||
max_size: 200
|
||||
max_backups: 10
|
||||
max_age: 90
|
||||
compress: true
|
||||
warn:
|
||||
max_size: 100
|
||||
max_backups: 5
|
||||
max_age: 30
|
||||
compress: true
|
||||
|
||||
# ===========================================
|
||||
# 🌐 海宇API(上游数据源)配置
|
||||
# ===========================================
|
||||
haiyuapi:
|
||||
base_url: "https://api.haiyudata.com"
|
||||
access_id: "2c136588d34b47fd" # 请求头 Access-Id
|
||||
secret_key: "39c5c2c02ff13bf2be0ac0b705e21e28" # Access Key(16进制 AES-128 密钥)
|
||||
timeout: 60s
|
||||
logging:
|
||||
enabled: true
|
||||
log_dir: "logs/external_services"
|
||||
service_name: "haiyuapi"
|
||||
use_daily: true
|
||||
enable_level_separation: true
|
||||
level_configs:
|
||||
info:
|
||||
max_size: 100
|
||||
|
||||
Reference in New Issue
Block a user