use logging.getLogger(__name__)

This commit is contained in:
j 2015-11-29 15:56:38 +01:00
commit d497e89b2b
36 changed files with 47 additions and 39 deletions

View file

@ -15,7 +15,7 @@ import stdnum.isbn
from utils import normalize_isbn, find_isbns
import logging
logger = logging.getLogger('oml.media.epub')
logger = logging.getLogger(__name__)
def cover(path):
logger.debug('cover %s', path)