[buildd-tools-devel] Status of logging in sbuild

Max Thoursie max at spotify.com
Wed Jan 25 10:49:50 UTC 2012


Hi,

I've been working on some local changes to make sbuild integrate with
our CI build tool (teamcity). While doing that I found logging to be
in a kind of messy state. There are several methods to print a log
messages and I'd love to help clean it up, so I'm asking writing to
ask which methods should be deprecated.

The current situation seems to be that most logging happens through
the log method in Base.pm, but there is also several print statements.
In addition there's a Log.pm which seems to be unused.

Since what I would like to do is to override the logging behavior, I'm
in favor of using a separate class for logging like in Log.pm, but
deeming from the history it seems like the development has gone in the
other direction.

-- 
Max Thoursie, Software Engineer @ Spotify ☎ +46 708 777721



More information about the Buildd-tools-devel mailing list