Opened 5 years ago

Last modified 7 months ago

#2633 new defect

Improve log messages in the DHCP Config Managers

Reported by: marcin Owned by:
Priority: low Milestone: Outstanding Tasks
Component: remote-management Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by fdupont)

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 messages 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.

Subtickets

Change History (9)

comment:1 Changed 2 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

comment:2 Changed 15 months ago by tomek

  • Description modified (diff)
  • Milestone changed from Outstanding Tasks to Kea1.2

comment:3 Changed 14 months ago by tomek

  • Component changed from dhcpconf to configuration

comment:4 Changed 14 months ago by tomek

  • Component changed from configuration to remote-management

comment:5 Changed 11 months ago by tomek

  • Priority changed from medium to low

comment:6 Changed 11 months ago by fdupont

  • Description modified (diff)

comment:7 Changed 9 months ago by fdupont

We first need a design/choice round.

comment:8 Changed 8 months ago by tomek

  • Milestone changed from Kea1.2 to Kea1.2-final

Code freeze for 1.2-beta. Moving all remaining open tickets to 1.2-final.

comment:9 Changed 7 months ago by tomek

  • Milestone changed from Kea1.2-final to Outstanding Tasks

As discussed on 2017-04-13 call, moving to outstanding.

Note: See TracTickets for help on using tickets.