Skip to content

All log messages should be categorized and configurable #656

Closed

Description

@yurivict

Currently, bitmessage by default prints a log of messages like this:
Could NOT connect to Peer(host='NNN.NNN.NNN.NNN', port=8444) during outgoing attempt. timed out

Every message should be categorized, timed, and every category should be made possible to disable in configuration screen. Also console/file/both should also be configurable.

Activity

  1. self-assigned this
    on Oct 18, 2015
  2. added this to the milestone on Oct 18, 2015
  3. added
    bugSomething isn't working as it's supposed to
    on Nov 18, 2015
  4. PeterSurda commented on Nov 18, 2015

    @PeterSurda
    Member

    Fixed in mailchuck#cee1a59a8659da093bf281e365a3886a52003113.

    On my LAN I setup logging to remote syslog and then I can look at the data through a web frontend and have a unified interface for all testing machines. It seems to be working well, the terminal screen is not cluttered anymore. It uses the standard logging.config.fileConfig interface so you can fine tune it. Just create a file "logging.dat" in the same directory as "keys.dat", and it will override the default logger settings. The commit log message contains an example config file (it's the same one I use, I just sanitised the syslog IP address).

  5. PeterSurda commented on Nov 18, 2015

    @PeterSurda
    Member

    Also I added an additional logger to log unhandled exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as it's supposed to

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions