How to get node red logs as a text file

Hi all
I can saw the logs in command promt but i want that logs as a file fo debugging

please let me know how to do that
thanks

How are you running Node-RED?

by using node-red command

Using what operating system?

If you are just typing the command node-red to run it, then you have to manually redirect its log output to a file.

For example:

node-red > node-red-log.txt

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