231219a193
Fixes #118 - changed almost all "print" into logger - threads have nicer names - logger can have configuration in "logger.dat" in the same directory as "keys.dat", and the logger will pick the one named "default" to replace the "console" and "file" that are in PyBitmessage otherwise Example file for logging to syslog: [loggers] keys = root,syslog [logger_root] level=NOTSET handlers=syslog [logger_syslog] level=DEBUG handlers=syslog qualname=default [handlers] keys = syslog [handler_syslog] class = handlers.SysLogHandler formatter = syslog level = DEBUG args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_LOCAL7) [formatters] keys = syslog [formatter_syslog] format=%(asctime)s %(threadName)s %(filename)s@%(lineno)d %(message)s datefmt=%b %d %H:%M:%S |
||
---|---|---|
.. | ||
__init__.py | ||
about.py | ||
about.ui | ||
account.py | ||
addaddressdialog.py | ||
addaddressdialog.ui | ||
addpeer.ui | ||
bitmessage_icons_rc.py | ||
bitmessage_icons.qrc | ||
bitmessageui.py | ||
bitmessageui.ui | ||
connect.py | ||
connect.ui | ||
emailgateway.py | ||
emailgateway.ui | ||
foldertree.py | ||
help.py | ||
help.ui | ||
iconglossary.py | ||
iconglossary.ui | ||
migrationwizard.py | ||
newaddressdialog.py | ||
newaddressdialog.ui | ||
newaddresswizard.py | ||
newchandialog.py | ||
newchandialog.ui | ||
newsubscriptiondialog.py | ||
newsubscriptiondialog.ui | ||
regenerateaddresses.py | ||
regenerateaddresses.ui | ||
settings.py | ||
settings.ui | ||
settingsmixin.py | ||
specialaddressbehavior.py | ||
specialaddressbehavior.ui | ||
utils.py | ||
wanlan.ui |