Opened 7 years ago

Closed 5 years ago

#2550 closed defect (wontfix)

logging stdout fallback includes debug even without -v

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


After #2445, if bind10 starts and can't even get a decent configuration, all initial logging is dumped to stdout. However, due to some intricacies in the logging system, this includes *any* log message (so also DEBUG even if -v was not used). See that last few comments at #2445.

Right now I don't really know a good solution to this, but we should fix this at some point :)

A possible solution is to not use 'if verbose then logger.setLogLevel(debug)' but rather initialize the logging system depending on the command arguments (if verbose init(debug)'. But there are probably some nasty subtleties there.


Change History (3)

comment:1 Changed 7 years ago by jwright

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

comment:2 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:3 Changed 5 years ago by tomek

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

This is about python code that is no longer in Kea tree. Closing.

Note: See TracTickets for help on using tickets.