diff --git a/config.ini b/config.ini index 340b846..37764dd 100644 --- a/config.ini +++ b/config.ini @@ -1,4 +1,6 @@ [setting] engine=zhconvert converter=Traditional -format=Horizontal \ No newline at end of file +format=Horizontal +loglevel=DEBUG +syslevel=INFO \ No newline at end of file diff --git a/logging.conf b/logging.conf deleted file mode 100644 index 601a139..0000000 --- a/logging.conf +++ /dev/null @@ -1,34 +0,0 @@ -[loggers] -keys=root,Logger - -[handlers] -keys=consoleHandler, outputHandler - -[formatters] -keys=formatter - -[logger_root] -level=DEBUG -handlers=consoleHandler, outputHandler - -[logger_Logger] -level=DEBUG -handlers=consoleHandler, outputHandler -qualname=Logger -propagate=0 - -[handler_consoleHandler] -class=StreamHandler -level=DEBUG -formatter=formatter -args=(sys.stdout,) - -[handler_outputHandler] -class=FileHandler -level=INFO -formatter=formatter -args=('epubconv.log', 'w', 'utf-8') - -[formatter_formatter] -format=%(asctime)s %(name)s %(levelname)s : %(message)s -datefmt=%Y-%m-%d %H:%M:%S \ No newline at end of file