# How to generate debug output?

**URL:** https://forum.zcashcommunity.com/t/how-to-generate-debug-output/1664
**Category:** zcashd client
**Created:** [September 11, 2016, 11:34pm UTC](https://forum.zcashcommunity.com/t/how-to-generate-debug-output/1664 "2016-09-11T23:34:54Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)
#### Post date: [September 12, 2016, 12:02am UTC](https://forum.zcashcommunity.com/t/how-to-generate-debug-output/1664/2 "2016-09-12T00:02:04Z")

</div>

> [@Zcash daemon logging settings?](https://forum.zcashcommunity.com/t/zcash-daemon-logging-settings/1157/3):
>
> By default, zcashd logs to ~/.zcash/testnet3/debug.log when running on testnet. To output to console, run zcashd -printtoconsole or set printtoconsole=1 in your zcash.conf. Also useful: -debug=[STRING] to log certain debug info. For miners, -debug=pow can be useful to get an idea of what is going in (although it is of course inefficient to leave that enabled full-time).

---

_[View the full topic](https://forum.zcashcommunity.com/t/how-to-generate-debug-output/1664)._
