# Ability to control logging level of sidebar

**URL:** <https://discourse.nodered.org/t/ability-to-control-logging-level-of-sidebar/30851>\
**Category:** Core Development\
**Created:** [29 July 2020 05:14 UTC](https://discourse.nodered.org/t/ability-to-control-logging-level-of-sidebar/30851 "2020-07-29T05:14:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![we10710aa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/we10710aa/32/26589_2.png) [@we10710aa](https://discourse.nodered.org/u/we10710aa)\
**Post date:** [29 July 2020 05:14 UTC](https://discourse.nodered.org/t/ability-to-control-logging-level-of-sidebar/30851/1 "2020-07-29T05:14:22Z")

</div>

When I am developing my node-red application, sidebar is very useful for debugging, however the problem with this is that it only accept warn level or debug node. This is not good in production enviorment where we don't want debug level log to appear.

It would be great if i can use node.debug() and just set the sidebar to debug level in development enviornment and not have to comment out all the node.warn() method.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 September 2020 05:14 UTC](https://discourse.nodered.org/t/ability-to-control-logging-level-of-sidebar/30851/2 "2020-09-27T05:14:26Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
