PyBitmessage/src
mailchuck cee1a59a86
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
2015-11-18 16:22:59 +01:00
..
bitmessagecurses forgot a question mark character in a sql query 2015-03-09 02:42:28 -04:00
bitmessageqt Improved logging 2015-11-18 16:22:59 +01:00
bitmsghash Compile fixes 2015-11-08 11:26:27 +01: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) 2015-11-13 12:35:32 +01:00
translations Fix some typos 2015-11-09 20:09:31 +01:00
addresses.py Improved logging 2015-11-18 16:22:59 +01:00
api_client.py more v4 address work. Should be done. 2013-09-18 00:04:01 -04:00
api.py Add: re-merge API changes 2015-09-28 20:55:40 +02:00
bitmessagecli.py Minor changes in cli, PoW, and a couple of new api calls. 2015-06-20 09:54:15 +02:00
bitmessagemain.py Dont run twice if daemon too 2015-11-15 11:08:59 -03:00
build_osx.py OSX build fixes 2015-11-14 13:11:51 +01: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 2015-11-18 16:22:59 +01:00
class_outgoingSynSender.py Improved logging 2015-11-18 16:22:59 +01:00
class_receiveDataThread.py Improved logging 2015-11-18 16:22:59 +01:00
class_sendDataThread.py Improved logging 2015-11-18 16:22:59 +01:00
class_singleCleaner.py Improved logging 2015-11-18 16:22:59 +01:00
class_singleListener.py Improved logging 2015-11-18 16:22:59 +01:00
class_singleWorker.py Improved logging 2015-11-18 16:22:59 +01:00
class_sqlThread.py Improved logging 2015-11-18 16:22:59 +01:00
debug.py Improved logging 2015-11-18 16:22:59 +01: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 2015-11-18 16:22:59 +01:00
helper_generic.py Simplify and optimize 2014-05-02 18:47:50 +02:00
helper_inbox.py Update unread count more efficiently 2015-10-31 15:27:16 +01: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 2015-11-09 20:09:31 +01: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 2015-11-08 11:23:48 +01:00
proofofwork.py Unified code for finding source code location 2015-11-13 12:26:02 +01:00
qidenticon.py nonfunctional identicon settings-GUI 2013-09-18 17:39:45 +02:00
shared.py Version bump 2015-11-15 02:23:11 +01:00
singleton.py Squash: Single instance and pop up old instance 2015-11-15 11:06:05 -03:00
tr.py fixed #486 2013-09-06 13:41:24 -04:00