16 Commits
Author SHA1 Message Date
klementtan d96d97ad30 doc: Add release note for shutdownnotify. 2022-10-13 21:22:52 +08:00
klementtan 0bd73e2c45 util: Add -shutdownnotify option. 2022-10-13 21:22:50 +08:00
klementtanand"Jon Atack 2a8712db4f Unit test coverage for -loglevel configuration option
Co-authored-by: "Jon Atack <jon@atack.com>"
2022-08-20 11:55:17 +02:00
klementtanand"Jon Atack eb7bee5f84 Create -loglevel configuration option
- add a -loglevel=<level>|<category:level> config option to allow users
  to set a global -loglevel and category-specific log levels. LogPrintLevel
  messages with a higher severity level than -loglevel will not be printed
  in the debug log.

- for now, this config option is debug-only during the migration to
  severity-based logging

- update unit and functional tests

Co-authored-by: "Jon Atack <jon@atack.com>"
2022-08-20 11:53:37 +02:00
klementtanand"Jon Atack 98a1f9c687 Unit test coverage for log severity levels
Co-authored-by: "Jon Atack <jon@atack.com>"
2022-08-20 11:31:28 +02:00
klementtanand"Jon Atack 9c7507bf76 Create BCLog::Logger::LogLevelsString() helper function
Co-authored-by: "Jon Atack <jon@atack.com>"
2022-08-20 11:31:28 +02:00
klementtanand"Jon Atack 8fe3457dbb Update LogAcceptCategory() and unit tests with log severity levels
Co-authored-by: "Jon Atack <jon@atack.com>"
2022-08-20 11:30:51 +02:00
klementtanandjonatack c2797cfc60 Add BCLog::Logger::SetLogLevel()/SetCategoryLogLevel() for string inputs
and remove unnecessary param constness in LogPrintStr()

Co-authored-by: jonatack <jon@atack.com>
2022-08-20 11:30:50 +02:00
klementtan 3a171f742c logging: fix logging empty threadname 2022-06-02 22:30:30 +08:00
klementtan e11cdc9303 logging: Add log severity level to net.cpp 2022-05-19 21:05:43 +08:00
klementtan a8290649a6 logging: Add severity level to logs. 2022-05-19 21:05:35 +08:00
klementtan a84650ebd5 util: Fix ReadBinaryFile reading beyond maxsize 2022-02-19 18:39:43 +08:00
klementtan 7c3712fa32 cli: Display all proxies in -getinfo 2021-09-20 18:52:04 +08:00
klementtanandjonatack b851a92c06 cli: Add progress bar for -getinfo
Co-authored-by: jonatack <jon@atack.com>
2021-08-03 00:58:12 +08:00
Klement Tan a37e29d32f cli: Implement human readable -getinfo. 2021-07-21 19:27:04 +08:00
Klement Tan 07bc22ef10 docs: improve make with parallel jobs description. 2021-05-14 08:45:27 +08:00