This repository has been archived on 2024-12-19. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-19/src/bitmessageqt
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
..
__init__.py Improved logging 2016-05-02 15:00:21 +02:00
about.py changed 2013 to 2014 in copyright notices 2014-01-21 22:41:48 -05:00
about.ui changed 2013 to 2014 in copyright notices 2014-01-21 22:41:48 -05:00
account.py More unified colors in foldertree and messagelists 2016-05-02 15:00:19 +02:00
addaddressdialog.py added option to show recent broadcasts when subscribing 2013-11-30 23:15:18 -05:00
addaddressdialog.ui added option to show recent broadcasts when subscribing 2013-11-30 23:15:18 -05:00
addpeer.ui Moved UI related files all into the bitmessageqt folder 2013-06-18 13:59:51 -04:00
bitmessage_icons_rc.py - GUI settings done 2013-09-21 14:31:47 +02:00
bitmessage_icons.qrc nonfunctional identicon settings-GUI 2013-09-18 17:39:45 +02:00
bitmessageui.py Show sync status in Network tab 2016-05-02 15:00:20 +02:00
bitmessageui.ui finished implementing more email client like interface 2016-05-02 15:00:17 +02:00
connect.py Further work to implement the Connect dialog on startup 2013-07-24 12:43:51 -04:00
connect.ui Further work to implement the Connect dialog on startup 2013-07-24 12:43:51 -04:00
emailgateway.py Email gateway integration 2016-05-02 15:00:18 +02:00
emailgateway.ui Email gateway integration 2016-05-02 15:00:18 +02:00
foldertree.py Fix adding/editing entries in addresbook 2016-05-02 15:00:21 +02:00
help.py Use https link in help message dialog 2015-01-14 22:45:02 +08:00
help.ui Use https link in help message dialog 2015-01-14 22:45:02 +08:00
iconglossary.py Moved UI related files all into the bitmessageqt folder 2013-06-18 13:59:51 -04:00
iconglossary.ui Moved UI related files all into the bitmessageqt folder 2013-06-18 13:59:51 -04:00
migrationwizard.py Fixes 2016-05-02 15:00:18 +02:00
newaddressdialog.py more v4 address work. Should be done. 2013-09-18 00:04:01 -04:00
newaddressdialog.ui more v4 address work. Should be done. 2013-09-18 00:04:01 -04:00
newaddresswizard.py New address wizard 2016-05-02 15:00:18 +02:00
newchandialog.py Added option in settings menu to allow sending to mobile 2013-08-08 15:37:48 -04:00
newchandialog.ui Added option in settings menu to allow sending to mobile 2013-08-08 15:37:48 -04:00
newsubscriptiondialog.py added option to show recent broadcasts when subscribing 2013-11-30 23:15:18 -05:00
newsubscriptiondialog.ui added option to show recent broadcasts when subscribing 2013-11-30 23:15:18 -05:00
regenerateaddresses.py more v4 address work. Should be done. 2013-09-18 00:04:01 -04:00
regenerateaddresses.ui more v4 address work. Should be done. 2013-09-18 00:04:01 -04:00
settings.py Spanish wrongly spelled 2016-05-02 15:00:19 +02:00
settings.ui Spanish wrongly spelled 2016-05-02 15:00:19 +02:00
settingsmixin.py Prepare for tree widgets to store settings 2016-05-02 15:00:20 +02:00
specialaddressbehavior.py Moved UI related files all into the bitmessageqt folder 2013-06-18 13:59:51 -04:00
specialaddressbehavior.ui Moved UI related files all into the bitmessageqt folder 2013-06-18 13:59:51 -04:00
utils.py Constant in a separate file 2016-05-02 15:00:19 +02:00
wanlan.ui Moved UI related files all into the bitmessageqt folder 2013-06-18 13:59:51 -04:00