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 |
||
---|---|---|
.. | ||
bitmessagecurses | ||
bitmessageqt | ||
bitmsghash | ||
images | ||
pyelliptic | ||
socks | ||
sslkeys | ||
translations | ||
addresses.py | ||
api_client.py | ||
api.py | ||
bitmessagecli.py | ||
bitmessagemain.py | ||
build_osx.py | ||
class_addressGenerator.py | ||
class_objectHashHolder.py | ||
class_objectProcessor.py | ||
class_outgoingSynSender.py | ||
class_receiveDataThread.py | ||
class_sendDataThread.py | ||
class_singleCleaner.py | ||
class_singleListener.py | ||
class_singleWorker.py | ||
class_sqlThread.py | ||
debug.py | ||
defaultKnownNodes.py | ||
depends.py | ||
helper_bitcoin.py | ||
helper_bootstrap.py | ||
helper_generic.py | ||
helper_inbox.py | ||
helper_sent.py | ||
helper_sql.py | ||
helper_startup.py | ||
highlevelcrypto.py | ||
l10n.py | ||
message_data_reader.py | ||
namecoin.py | ||
openclpow.py | ||
proofofwork.py | ||
qidenticon.py | ||
shared.py | ||
singleton.py | ||
tr.py | ||
upnp.py |