diff --git a/ChangeLog b/ChangeLog index f44196f..d55d9d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-05-01 Thomas Vander Stichele + + * morituri/common/log.py: + Add external log module and use it. + 2009-04-29 Thomas Vander Stichele * morituri/test/cure.toc (added): diff --git a/morituri/common/log.py b/morituri/common/log.py new file mode 100644 index 0000000..f6b40d0 --- /dev/null +++ b/morituri/common/log.py @@ -0,0 +1,32 @@ +# -*- Mode: Python; test-case-name: morituri.test.test_common_checksum -*- +# vi:si:et:sw=4:sts=4:ts=4 + +# Morituri - for those about to RIP + +# Copyright (C) 2009 Thomas Vander Stichele + +# This file is part of morituri. +# +# morituri is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# morituri is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with morituri. If not, see . + +""" +Logging +""" + +from morituri.extern.log import log as externlog +from morituri.extern.log.log import * + +def init(): + externlog.init('RIP_DEBUG') + externlog.setPackageScrubList('morituri')