Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The node is spamming the log file #307

Open
egeu5 opened this issue Sep 11, 2023 · 1 comment
Open

The node is spamming the log file #307

egeu5 opened this issue Sep 11, 2023 · 1 comment

Comments

@egeu5
Copy link

egeu5 commented Sep 11, 2023

Hi,
I like the node - I use it so change our lights automatically from 2600 to 3200k. It is working really good for two years. Unfortunally the node spams the whole log file everytime it is triggered. I trigger it every fife mins to have smooth color temp changes. And every trigger the log file is spammed with the following:
2023-09-05T19:20:15.435070520Z 5 Sep 21:20:15 - [info] [daylight-rgbw:4e924b22.61ab14] Received Topic:date-time 2023-09-05T19:20:15.435181561Z 5 Sep 21:20:15 - [info] [daylight-rgbw:4e924b22.61ab14] Received dt:1693941615434 2023-09-05T19:20:15.435519572Z 5 Sep 21:20:15 - [info] [daylight-rgbw:4e924b22.61ab14] Sun position:-0.2026747354308221 2023-09-05T19:20:15.435622975Z 5 Sep 21:20:15 - [info] [daylight-rgbw:4e924b22.61ab14] Sun position fraction:-0.12902674393462973 2023-09-05T19:20:15.435633268Z 5 Sep 21:20:15 - [info] [daylight-rgbw:4e924b22.61ab14] Color-temp:2600

Thats cool for debugging but normaly I dont need it. Especially things like the sun position is really useless for me and I think for the most user. Is there any way to disable it?

Thanks

@RaimondB
Copy link
Owner

Hi @egeu5 , if you feel info level is providing to much information you can configure node-red to not report at this level.

See https://nodered.org/docs/user-guide/runtime/logging .
You could configure node-red to only show warnings and more severe errors by choosing "warn" as the level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants