bitcoind should be able to log to stderr or stdout #665

issue eldentyrell opened this issue on November 26, 2011
  1. eldentyrell commented at 2:52 AM on November 26, 2011: none

    Currently bitcoind sends its debug logs into ~/.bitcoind/debug.log.

    When running bitcoind under a process supervisor like daemontools or runit, it is much more convenient to have bitcoind simply spit out any logging messages on its own stdout or stderr; the process supervisor will collect them and send them to the right place.

    Could we please have a command-line switch that causes any and all debug information to be printed on the console rather than sent to a file?

    Thanks!

  2. tcatm commented at 3:00 AM on November 26, 2011: none

    It's already there: -printtoconsole

  3. TheBlueMatt commented at 7:32 PM on November 26, 2011: member

    In other words we really need better docs on our parameters.

  4. gavinandresen commented at 7:54 PM on November 27, 2011: contributor

    master * re1b1055 / src/init.cpp : Add missing command-line arguments to --help/-? output

  5. gavinandresen closed this on Nov 27, 2011

  6. ptschip referenced this in commit 03cfc47f71 on Jun 15, 2017
  7. laanwj referenced this in commit b586bbd558 on Nov 6, 2019
  8. laanwj referenced this in commit 97b66d34eb on Nov 7, 2019
  9. laanwj referenced this in commit e9c85bb139 on Nov 7, 2019
  10. laanwj referenced this in commit c92f7af618 on Nov 7, 2019
  11. laanwj referenced this in commit 656712fe94 on Dec 9, 2019
  12. laanwj referenced this in commit 4abd92d5c4 on Dec 12, 2019
  13. laanwj referenced this in commit 89c8fe5189 on Jan 2, 2020
  14. laanwj referenced this in commit 66480821b3 on Jan 28, 2020
  15. backpacker69 referenced this in commit 9a4d4e59a3 on Mar 28, 2021
  16. rajarshimaitra referenced this in commit b837eb9569 on Aug 5, 2021
  17. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me