# DEBUG statements are not getting logged

**URL:** <https://community.asterisk.org/t/debug-statements-are-not-getting-logged/74396>\
**Category:** Asterisk Support\
**Created:** [April 24, 2018, 1:58pm UTC](https://community.asterisk.org/t/debug-statements-are-not-getting-logged/74396 "2018-04-24T13:58:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhiraj](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@Abhiraj](https://community.asterisk.org/u/Abhiraj)\
**Post date:** [April 24, 2018, 1:58pm UTC](https://community.asterisk.org/t/debug-statements-are-not-getting-logged/74396/1 "2018-04-24T13:58:00Z")

</div>

we have set this in Logger.conf  
[logfiles]  
debug\_log\_123456 =\> notice,warning,error,debug,verbose,dtmf

\*CLI\> core set debug 5 ; run this in asterisk cli

Log file got created successfully but DEBUG statements are not logged(all other are logged properly).

How to log DEBUG statements?

---

<div class="post-metadata">

**Author:** ![gjoseph](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/gjoseph/32/1690_2.png) [@gjoseph](https://community.asterisk.org/u/gjoseph)\
**Post date:** [April 25, 2018, 2:41pm UTC](https://community.asterisk.org/t/debug-statements-are-not-getting-logged/74396/2 "2018-04-25T14:41:45Z")

</div>

When you built asterisk, did you use the `--enable-dev-mode` flag with ./configure?

---

<div class="post-metadata">

**Author:** ![Abhiraj](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@Abhiraj](https://community.asterisk.org/u/Abhiraj)\
**Post date:** [April 25, 2018, 3:25pm UTC](https://community.asterisk.org/t/debug-statements-are-not-getting-logged/74396/3 "2018-04-25T15:25:36Z")

</div>

Hello Joseph,  
Thanks for your reply, I have not used “–enable-dev-mode flag” with ./configure.  
But, now this problem is solved and we are able to see the “DEBUG” log.

Our main concern is that we want to stream the audio of the conversation, and hence we are trying this through JACK\_HOOK.

For the detail error and configuration used, you may check this.  
[Error while using jack\_hook application](https://community.asterisk.org/t/error-while-using-jack-hook-application/74384).

please help me. thanks in advance.
