# Debug logs are not getting printed in custom module

**URL:** <https://community.wowza.com/t/debug-logs-are-not-getting-printed-in-custom-module/92404>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [November 26, 2020, 11:25am UTC](https://community.wowza.com/t/debug-logs-are-not-getting-printed-in-custom-module/92404 "2020-11-26T11:25:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alok\_Kumar2](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Alok\_Kumar2](https://community.wowza.com/u/Alok_Kumar2)\
**Post date:** [November 26, 2020, 11:25am UTC](https://community.wowza.com/t/debug-logs-are-not-getting-printed-in-custom-module/92404/1 "2020-11-26T11:25:30Z")

</div>

Hi,  
I have created a custom module to meet a specific use-case. in my module `DEBUG` logs are not getting printed in the log file, however I am able to print `INFO, WARN, ERROR` level logs.

for example : consider the onAppStart event in the custom module, here the info level log is printed in the log file but debug level is not getting printed.

```
public void onAppStart(IApplicationInstance appInstance)
{
    getLogger().info("Info level log"); // getting printed
    getLogger().debug("Debug level log"); // not getting printed

}

```

I have made the changes in **log4j.properties** file and changed the initial line as  
`log4j.rootCategory=INFO, stdout, serverAccess, serverError` to `log4j.rootCategory=DEBUG, stdout, serverAccess, serverError`

is this the default behavior of the logger or is this a BUG in streaming engine or I have to make some more configuration for putting wowza in **debug** mode ?
