# node.log("Hello World") doesn't log but node.warn("Hello from log.warn()") works

**URL:** <https://discourse.nodered.org/t/node-log-hello-world-doesnt-log-but-node-warn-hello-from-log-warn-works/16932>\
**Category:** General\
**Created:** [20 October 2019 18:50 UTC](https://discourse.nodered.org/t/node-log-hello-world-doesnt-log-but-node-warn-hello-from-log-warn-works/16932 "2019-10-20T18:50:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtmoderate876](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jtmoderate876/32/6423_2.png) [@jtmoderate876](https://discourse.nodered.org/u/jtmoderate876)\
**Post date:** [20 October 2019 18:50 UTC](https://discourse.nodered.org/t/node-log-hello-world-doesnt-log-but-node-warn-hello-from-log-warn-works/16932/1 "2019-10-20T18:50:14Z")

</div>

Any ideas what I might have done?  
on node-red v 1.0.1  
node.log() in my function nodes doesn't produce anything in my output window ?

node.warn() works.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [20 October 2019 18:56 UTC](https://discourse.nodered.org/t/node-log-hello-world-doesnt-log-but-node-warn-hello-from-log-warn-works/16932/2 "2019-10-20T18:56:56Z")

</div>

As per documentation:

> The `warn` and `error` messages also get sent to the flow editor debug tab.

`.log()` will only show on the console/command line/node red log.

---

<div class="post-metadata">

**Author:** ![jtmoderate876](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jtmoderate876/32/6423_2.png) [@jtmoderate876](https://discourse.nodered.org/u/jtmoderate876)\
**Post date:** [20 October 2019 18:58 UTC](https://discourse.nodered.org/t/node-log-hello-world-doesnt-log-but-node-warn-hello-from-log-warn-works/16932/3 "2019-10-20T18:58:33Z")

</div>

Oh, that I didn't expect. I was, of course, looking at the debug tab.

Thank you.
