Bitcoind no longer outputs logs to stdout #13929

issue leishman opened this issue on August 9, 2018
  1. leishman commented at 6:10 PM on August 9, 2018: contributor

    Summary

    Running bitcoind no longer prints anything to stdout. It makes it seem like bitcoind is just hanging, when it is in fact running properly.

    Expected Behavior

    I expected to see some logs print to the console when running bitcoind not in the daemon mode.

    Actual Behavior

    No output when running bitcoind from command line. It just appears to hang, but is actually functioning properly.

    Version

    0.16.2 from ubuntu ppa

    Machine Type

    ubuntu server

  2. sipa commented at 6:42 PM on August 9, 2018: member

    It never did, AFAIK? You need -printtoconsole for that.

  3. leishman commented at 6:47 PM on August 9, 2018: contributor

    It does when I build the binary manually on my Mac and run that. Is there a build flag that changes this behavior perhaps? I feel like everywhere else I run bitcoin it prints to console without the flag.

  4. sipa commented at 6:51 PM on August 9, 2018: member

    It seems the old behaviour was to not print to console by default ever. In #13004 it was changed to print to console by default if not running in the background. It's not in any release yet, but will be in 0.17.

    Perhaps the versions you've compiled yourself were from the master branch?

  5. MarcoFalke commented at 6:56 PM on August 9, 2018: member

    Indeed, this is only on the master branch.

  6. MarcoFalke closed this on Aug 9, 2018

  7. leishman commented at 7:02 PM on August 9, 2018: contributor

    Ah ok that makes sense. I think previously I had always run it as a daemon and just forgot the default behavior.

  8. 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-05-02 21:14 UTC

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