terom@14: # DeGAL - A pretty simple web image gallery terom@14: # Copyright (C) 2007 Tero Marttila terom@14: # http://marttila.de/~terom/degal/ terom@14: # terom@14: # This program is free software; you can redistribute it and/or modify terom@14: # it under the terms of the GNU General Public License as published by terom@14: # the Free Software Foundation; either version 2 of the License, or terom@14: # (at your option) any later version. terom@14: # terom@14: # This program is distributed in the hope that it will be useful, terom@14: # but WITHOUT ANY WARRANTY; without even the implied warranty of terom@14: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terom@14: # GNU General Public License for more details. terom@14: # terom@14: # You should have received a copy of the GNU General Public License terom@14: # along with this program; if not, write to the terom@14: # Free Software Foundation, Inc., terom@14: # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. terom@14: # terom@14: terom@12: import logging terom@12: terom@12: logging.basicConfig( terom@12: level=logging.DEBUG, terom@12: format="%(message)s", terom@12: # format="%(name)8s %(levelname)8s %(lineno)3d %(message)s", terom@12: terom@12: ) terom@12: terom@12: index = logging.getLogger('index') terom@12: render = logging.getLogger('render') terom@12: template = logging.getLogger('template') terom@12: terom@15: misc = logging.getLogger('misc') terom@15: terom@12: template.setLevel(logging.ERROR)