some work on logging and refactoring into openaccess_epub.utils.log