[bind10-dev] Logging config proposal
Jerry.zzchen
jerry.zzpku at gmail.com
Mon May 24 11:14:04 UTC 2010
All,
Sorry for my gmail's encoding error,most of you can't see my last email.
Below are some of my suggestions on logging configuration:
Each module will define its own logging config, just as what bind9
does currently.
So some logging config-data should be added into module's spec file
.If user modified logging configuration by config-manager, the logger
will update itself with new config options.
I still have one question:
Do we need to add some global logging config options, such as changing
all modules'logging severity at the same time?
Any good advice?
Take Xfrin module for example:
"config_data": [
{
"item_name": "log_name",
"item_type": "string",
"item_optional": false,
"item_default": " Xfrin "
},
{
"item_name": "severity",
"item_type": "string",
"item_optional": false,
"item_default": "debug"
},
{
"item_name": "logfile",
"item_type": "string",
"item_optional": false,
"item_default": "/var/log/bind10/ Xfrin "
},
{
"item_name": "versions",
"item_type": "integer",
"item_optional": false,
"item_default": 5
},
{
"item_name": "size",
"item_type": "integer",
"item_optional": false,
"item_default": 5242880
}
]
--
Jerry
More information about the bind10-dev
mailing list