# Where is the node-red log (running from command line on ubuntu)

**URL:** <https://discourse.nodered.org/t/where-is-the-node-red-log-running-from-command-line-on-ubuntu/70134>\
**Category:** General\
**Tags:** security\
**Created:** [5 November 2022 21:40 UTC](https://discourse.nodered.org/t/where-is-the-node-red-log-running-from-command-line-on-ubuntu/70134 "2022-11-05T21:40:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nodeBoy816](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@nodeBoy816](https://discourse.nodered.org/u/nodeBoy816)\
**Post date:** [5 November 2022 21:40 UTC](https://discourse.nodered.org/t/where-is-the-node-red-log-running-from-command-line-on-ubuntu/70134/1 "2022-11-05T21:40:17Z")

</div>

I'm going through Securing Node-RED ([Securing Node-RED : Node-RED](https://nodered.org/docs/user-guide/runtime/securing-node-red) ) and the article references the [settings file](https://nodered.org/docs/user-guide/runtime/settings-file) page which states that "If you are not sure which settings file Node-RED is using, you should check the log output when Node-RED starts up. It will log the full path to the file:" I've been googling around looking for how to find the log output. This article ([Where can I read Node Red logs?](https://discourse.nodered.org/t/where-can-i-read-node-red-logs/7698)) seems to say there could be several places (I'm running from Terminal - is this the same thing as "Command line"?). I've tried to find var/log/syslog but am unable to. Basically, I'm trying to verify which setting file NR is using. Thank you for your patience with me!

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 November 2022 21:52 UTC](https://discourse.nodered.org/t/where-is-the-node-red-log-running-from-command-line-on-ubuntu/70134/2 "2022-11-05T21:52:12Z")

</div>

It appears in the terminal when you run `node-red-start`.  
Or you can get it with `node-red-log`  
Or using the `journalctl` command.  
Also it goes in /var/log/syslog.

---

<div class="post-metadata">

**Author:** ![nodeBoy816](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@nodeBoy816](https://discourse.nodered.org/u/nodeBoy816)\
**Post date:** [5 November 2022 22:41 UTC](https://discourse.nodered.org/t/where-is-the-node-red-log-running-from-command-line-on-ubuntu/70134/3 "2022-11-05T22:41:09Z")

</div>

@Colin Thank you sir! Found it!

---

<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:** [4 January 2023 22:42 UTC](https://discourse.nodered.org/t/where-is-the-node-red-log-running-from-command-line-on-ubuntu/70134/4 "2023-01-04T22:42:05Z")

</div>

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