Script logging infrastructure is redundant with python logging module

Bug #164203 reported by Francis J. Lacoste
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

The script log infrastructure builds redundant infrastructure around the standard Python logging infrastructure.

Its log() function should be deprecated to use the logging module infrastructure directly.

The logger() function creates a child logger based on the script name (usually), but then code wanting to use that logger should use the non-standard log() function or obtain a logger by name (which violates encapsulation).

So logger() should configure the root logger.

Changed in launchpad:
importance: Undecided → Medium
status: New → Confirmed
visibility: private → public
Changed in launchpad:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.