[bind10-dev] Logging config proposal

Jerry.zzchen jerry.zzpku at gmail.com
Mon May 24 10:04:51 UTC 2010


Hi, all,

         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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20100524/2e52cc4c/attachment.html>


More information about the bind10-dev mailing list