Opened 8 years ago

Closed 6 years ago

#1821 closed defect (wontfix)

inconsistent verbose logging

Reported by: jreed Owned by:
Priority: medium Milestone: Remaining BIND10 tickets
Component: Unclassified Version: bind10-old
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 4 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

Some components honor a -v (or --verbose) switch to enable maximum debug logging.

But not all is set to maximum. For example, it provides complete logging for "auth" but not "datasrc".

This is confusing.

One fix is to either clearly document this. Another fix is to make everything "*" logged at DEBUG 99 when using --verbose.

Subtickets

Change History (3)

comment:1 Changed 8 years ago by shane

  • Defect Severity changed from N/A to Low
  • Milestone New Tasks deleted

I'd consider the principle of least surprise to make behavior the same and not require people to read documentation. So, I like Jeremy's suggestion of logging at DEBUG 99 when using --verbose. Perhaps we could also set it to DEBUG 30 with one --verbose, and DEBUG 99 with two or more --verbose? This would mean a single verbose is probably useful for administrators, but you an still get full debugging if you want:

http://git.bind10.isc.org/~jreed/doxygen/log__dbglevels_8h.html

comment:2 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:3 Changed 6 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to old-bind10

This issue is related to bind10 code that is no longer part of Kea.

If you are interested in BIND10/Bundy framework or its DNS components,
please check http://bundy-dns.de.

Closing ticket.

Note: See TracTickets for help on using tickets.