This commit is contained in:
crusader 2017-09-19 17:42:22 +09:00
parent 5c45b44c01
commit b9232b20e6
2 changed files with 28 additions and 29 deletions

View File

@ -12,7 +12,7 @@
"WriteBufferSize": 8192,
"EnableCompression": false
},
"grpc": {
"gRPC": {
"addr": "192.168.1.50:50006",
"tls": false,
"pool": {
@ -57,33 +57,5 @@
}
}
},
"logging": {
"level": "debug",
"development": true,
"disableCaller": true,
"disableStacktrace": true,
"sampling": {
"initial": 100,
"thereafter": 100
},
"encoding": "console",
"encoderConfig": {
"messageKey": "message",
"levelKey": "level",
"timeKey": "time",
"nameKey": "name",
"callerKey": "caller",
"stacktraceKey": "stacktrace",
"lineEnding": "\n",
"levelEncoder": "color",
"timeEncoder": "ISO8601",
"durationEncoder": "string",
"callerEncoder": "full",
"nameEncoder": "full"
},
"outputPaths": ["/opt/logs/log"],
"errorOutputPaths": ["stderr"]
}
}

View File

@ -0,0 +1,27 @@
{
"level": "debug",
"development": true,
"disableCaller": true,
"disableStacktrace": true,
"sampling": {
"initial": 100,
"thereafter": 100
},
"encoding": "console",
"encoderConfig": {
"messageKey": "message",
"levelKey": "level",
"timeKey": "time",
"nameKey": "name",
"callerKey": "caller",
"stacktraceKey": "stacktrace",
"lineEnding": "\n",
"levelEncoder": "color",
"timeEncoder": "ISO8601",
"durationEncoder": "string",
"callerEncoder": "full",
"nameEncoder": "full"
},
"outputPaths": ["/opt/logs/log"],
"errorOutputPaths": ["stderr"]
}