PyBitmessage/src
mailchuck 231219a193 Improved logging
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
2016-05-02 15:00:21 +02:00
..
bitmessagecurses forgot a question mark character in a sql query 2015-03-09 02:42:28 -04:00
bitmessageqt Improved logging 2016-05-02 15:00:21 +02:00
bitmsghash Compile fixes 2016-05-02 15:00:20 +02:00
images removed images/can-icon-24px_2.png 2013-11-01 19:28:44 -04:00
pyelliptic support SHA256 signatures 2015-03-27 15:25:32 -04:00
socks Debian packaging 2013-04-01 20:23:32 +01:00
sslkeys Opportunistic encryption with TLS (2 of 2) 2016-05-02 15:00:20 +02:00
translations Fix some typos 2016-05-02 15:00:20 +02:00
addresses.py Improved logging 2016-05-02 15:00:21 +02:00
api.py Add: re-merge API changes 2016-05-02 15:00:17 +02:00
api_client.py more v4 address work. Should be done. 2013-09-18 00:04:01 -04:00
bitmessagecli.py Minor changes in cli, PoW, and a couple of new api calls. 2016-05-02 15:00:17 +02:00
bitmessagemain.py Dont run twice if daemon too 2016-05-02 15:00:21 +02:00
build_osx.py OSX build fixes 2016-05-02 15:00:21 +02:00
class_addressGenerator.py Fix #761 2015-01-08 17:11:30 -05:00
class_objectHashHolder.py delay addr messages random number of seconds 2013-09-09 19:26:32 -04:00
class_objectProcessor.py Improved logging 2016-05-02 15:00:21 +02:00
class_outgoingSynSender.py Improved logging 2016-05-02 15:00:21 +02:00
class_receiveDataThread.py Improved logging 2016-05-02 15:00:21 +02:00
class_sendDataThread.py Improved logging 2016-05-02 15:00:21 +02:00
class_singleCleaner.py Improved logging 2016-05-02 15:00:21 +02:00
class_singleListener.py Improved logging 2016-05-02 15:00:21 +02:00
class_singleWorker.py Improved logging 2016-05-02 15:00:21 +02:00
class_sqlThread.py Improved logging 2016-05-02 15:00:21 +02:00
debug.py Improved logging 2016-05-02 15:00:21 +02:00
defaultKnownNodes.py update list of defaultKnownNodes 2015-03-09 22:33:46 -04:00
depends.py Update the required Python version to 2.7.3 2014-12-25 19:48:07 -05:00
helper_bitcoin.py Fixed missing arithmetic import in helper_bitcoin file 2013-06-21 12:58:36 +01:00
helper_bootstrap.py Improved logging 2016-05-02 15:00:21 +02:00
helper_generic.py Simplify and optimize 2014-05-02 18:47:50 +02:00
helper_inbox.py Update unread count more efficiently 2016-05-02 15:00:19 +02:00
helper_sent.py finished work on specifyTTL 2015-03-09 02:35:32 -04:00
helper_sql.py fixes to new SQL refactoring 2013-09-02 23:14:43 -04:00
helper_startup.py Fix some typos 2016-05-02 15:00:20 +02:00
highlevelcrypto.py support SHA256 signatures 2015-03-27 15:25:32 -04:00
l10n.py #708 : Use default locale encoding 2014-08-28 13:39:40 +02:00
message_data_reader.py finished work on specifyTTL 2015-03-09 02:35:32 -04:00
namecoin.py fix #474 2013-09-04 12:53:18 -04:00
openclpow.py OpenCL fixes 2016-05-02 15:00:20 +02:00
proofofwork.py Unified code for finding source code location 2016-05-02 15:00:20 +02:00
qidenticon.py nonfunctional identicon settings-GUI 2013-09-18 17:39:45 +02:00
shared.py Version bump 2016-05-02 15:00:21 +02:00
singleton.py Squash: Single instance and pop up old instance 2016-05-02 15:00:21 +02:00
tr.py fixed #486 2013-09-06 13:41:24 -04:00
upnp.py Add UPnP support. 2016-05-02 15:00:17 +02:00