# How to find specific log

**URL:** <https://discourse.nodered.org/t/how-to-find-specific-log/69219>\
**Category:** General\
**Created:** [18 October 2022 19:37 UTC](https://discourse.nodered.org/t/how-to-find-specific-log/69219 "2022-10-18T19:37:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hazymat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hazymat/32/108159_2.png) [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Post date:** [18 October 2022 19:37 UTC](https://discourse.nodered.org/t/how-to-find-specific-log/69219/1 "2022-10-18T19:37:16Z")

</div>

I recently updated a contrib within pallete (node-red-contrib-hugemagic) and it broke a lot of stuff. Since then, time has passed and I've been looking to fix it in different ways.

But having read a lot of comments and threads on github I would like to roll back to the previous version of huemagic when things worked well for me. Problem is that I don't know which version I was running before. To roll back, I issued the following command:

> npm install node-red-contrib-huemagic@3.0.0

This was too early, as I have some Hue button nodes that showed up with dashed lines around them (i.e. in my flows file, but no corresponding node within the huemagic suite)

Then I rolled forward to 4.0.0 but then when I change my light settings, the dashboard just immediately says "lost connection" and I have no idea why.

So I want to somehow work out what version of the contrib I was on previously. I have backups of my flows files from various dates, would I find any info in there?

Or is there a log file for npm or node-red that would have this info?

NB I have Node Red running on an Ubuntu server, as a service (I issue the following to e.g. restart the service: _sudo service node-red restart_)

I know that I hadn't updated this contrib for quite some time, as in over a year or more, before I updated recently and it broke. But I think 3.0.0 was too early. I haven't been able to see a full changelog with version dates on github that helps me determine which version I was running successfully for so long...

Any help would be appreciated, thanks

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [18 October 2022 20:27 UTC](https://discourse.nodered.org/t/how-to-find-specific-log/69219/2 "2022-10-18T20:27:11Z")

</div>

> [@hazymat](#):
>
> I have backups of my flows files from various dates, would I find any info in there?

If you do a backup that includes the package.json file in your userDir folder, then you will have the info probably. You will not find it in the flows file I don't believe.

> [@hazymat](#):
>
> NB I have Node Red running on an Ubuntu server, as a service (I issue the following to e.g. restart the service: _sudo service node-red restart_)

So you might just find something in a syslog somewhere depending on how long ago you upgraded and how many log rotations you keep.

---

<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:** [17 December 2022 20:27 UTC](https://discourse.nodered.org/t/how-to-find-specific-log/69219/3 "2022-12-17T20:27:32Z")

</div>

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