0.5.1-pre.005
This commit is contained in:
55
config/example.logging.config.json
Normal file
55
config/example.logging.config.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"active_profile": "local_devnet",
|
||||
"profiles": [
|
||||
{
|
||||
"name": "local_devnet",
|
||||
"default_level": "warn",
|
||||
"targets": [
|
||||
{
|
||||
"name": "console_local_devnet_compact",
|
||||
"enabled": true,
|
||||
"sink": "console",
|
||||
"level": "debug",
|
||||
"path": "",
|
||||
"rotation": "none",
|
||||
"format": "compact",
|
||||
"ansi": true,
|
||||
"targets": [
|
||||
"*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "file_local_devnet_debug",
|
||||
"enabled": true,
|
||||
"sink": "file",
|
||||
"level": "debug",
|
||||
"path": "logs/devnet/debug.log",
|
||||
"rotation": "daily",
|
||||
"format": "human",
|
||||
"ansi": false,
|
||||
"targets": [
|
||||
"*"
|
||||
]
|
||||
}
|
||||
],
|
||||
"target_filters": [
|
||||
{
|
||||
"target": "hyper",
|
||||
"level": "warn"
|
||||
},
|
||||
{
|
||||
"target": "reqwest",
|
||||
"level": "warn"
|
||||
},
|
||||
{
|
||||
"target": "tao",
|
||||
"level": "warn"
|
||||
},
|
||||
{
|
||||
"target": "wry",
|
||||
"level": "warn"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user