-
Notifications
You must be signed in to change notification settings - Fork 1
/
farseer.harlen.yaml
42 lines (42 loc) · 1.84 KB
/
farseer.harlen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Database:
default: "DataType=mysql,PoolMaxSize=50,PoolMinSize=1,ConnectionString=root:harlen@tcp(localhost:3307)/fops2?charset=utf8&parseTime=True&loc=Local"
Redis:
default: "Server=localhost:6379,DB=13,Password=,ConnectTimeout=600000,SyncTimeout=10000,ResponseTimeout=10000"
WebApi:
Url: ":8889"
Jwt:
Key: "123456"
Session:
Store: "Redis"
StoreConfigName: "default"
Age: 1800
Fops:
LinkTrace:
Driver: "clickhouse"
ConnString: "DataType=clickhouse,PoolMaxSize=50,PoolMinSize=1,ConnectionString=clickhouse://default:@localhost:9000/linkTrace?dial_timeout=10s&read_timeout=20s"
LinkTrace:
Enable: false
PrintLog: false
Log:
Default:
LogLevel: "info" # 只记录级别>=info的日志内容
Format: "json" # 默认使用json格式输出
Console:
LogLevel: "info" # 只记录级别>=info的日志内容
Format: "text" # 控制台打印,使用text格式输出
File:
LogLevel: "info" # 只记录级别>=info的日志内容
Format: "text" # 使用text格式写入日志文件
Path: "./log" # 日志文件存储在应用程序的./log目录中
RollingInterval: "Hour" # 滚动间隔(Hour|Day|Week|Month|Year)
FileSizeLimitMb: 1 # 文件大小限制
FileCountLimit: 20 # 文件数量限制
RefreshInterval: 1 # 写入到文件的时间间隔,秒单位,最少为1
Component:
task: true # 打印task组件的日志
cacheManage: true # 打印cacheManage组件的日志
webapi: true # 打印webapi组件的日志
event: true # 打印event组件的日志
httpRequest: true # 打印httpRequest组件的日志
queue: true # 打印queue组件的日志
fSchedule: true # 打印fSchedule组件的日志