BIND 10 #2633: Improve log messages in the DHCP Config Managers

BIND 10 Development do-not-reply at isc.org
Mon Jan 14 09:06:32 UTC 2013


#2633: Improve log messages in the DHCP Config Managers
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  marcin                             |                Status:  new
                       Type:         |             Milestone:  DHCP
  defect                             |  Outstanding Tasks
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DHCP
  dhcpconf                           |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  Low    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 In the DHCP configuration parsers (src/bin/dhcp4/config_parser.cc and
 src/bin/dhcp6/config_parser.cc) a number of log messages should be
 improved. Corrections to log messages include but are not limited to:
 - ensure that all log messages start with a lower-case letter or that all
 messages start with upper-case letter, currently it is not consistent
 - some of the log messages are prefixed with e.g. !''Parser error: ...!'',
 some not, whether this prefix is used or not should be consistent across
 all log messages
 - many massages are vague as they don't refer to a particular item in the
 configuration, e.g. fictitious log message: !''Invalid parameter of the
 option!'' should be rather logged as !''Invalid parameter foo of the
 option isc.foo, having code 1234!''. etc.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2633>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list