I have a home automation export of 2500 line in Xml. In node-red the import of this file its output in XML is limited in debugging it to the first thousand lines. How can I see the following 1500 lines ???
Hi, the full debug should be available if you send it to the console....
or you can edit your settings.js file - look for debugMaxLength: 1000,
I opened node-red / settings.js, but this file is empty. I guess it's not the right file .... Can you tell me where the right settings.js file is?
thank you for your help
@JLRDomotique Node-RED logs the full path to the settings file it is using when it starts.
When Node-red starts, it shows me: /home/pi/.node-red/settings.js
Yet at the edition with nano, this settings.js file is empty.
Are you sure you are opening /home/pi/dotnode-red/settings.js. ?
dot = .
cd into the .node-red directory and list the files with the command
ls -latr
and copy and paste the output here
this is what I get ...
pi@RaspberrySnips:~ cd /home/pi/.node-red/
pi@RaspberrySnips:~/.node-red ls -latr
total 224
-rw-r--r-- 1 pi pi 0 mai 5 10:44 settings.js
drwxr-xr-x 3 pi pi 4096 mai 5 10:44 lib
-rw-r--r-- 1 pi pi 556 mai 21 10:56 .flows_RaspberrySnips_cred.json.backup
-rw-r--r-- 1 pi pi 476 mai 22 12:42 flows_RaspberrySnips_cred.json
-rw-r--r-- 1 pi pi 25380 juin 1 17:54 .flows_RaspberrySnips.json.backup
drwxr-xr-x 34 pi sudo 4096 juin 19 16:39 ..
drwxr-xr-x 233 pi sudo 12288 juin 21 12:51 node_modules
-rw-r--r-- 1 pi sudo 888 juin 21 12:51 package.json
-rw-r--r-- 1 pi sudo 76763 juin 21 12:51 package-lock.json
-rw-r--r-- 1 pi pi 25502 juin 21 12:51 .config.json.backup
-rw-r--r-- 1 pi pi 26794 juin 21 12:51 flows_RaspberrySnips.json
drwxr-xr-x 4 pi sudo 4096 juin 21 17:20 .
-rw-r--r-- 1 pi sudo 25501 juin 21 17:20 .config.json
pi@RaspberrySnips:~/.node-red $
-rw-r--r-- 1 pi pi 0 mai 5 10:44 settings.js
My file settings.js is empty, what i have to do????
Delete the settings file and restart Node-RED. It will recreate the file with the default settings in.
I did as you told me: settings.js is back to normal.
After i put debugMaxLength: 3000,
And after a node-red stop, then node-red start, it did not work, but then after a reboot, everything is now OK ....
I thank you very much for your help ....