# XML \> 1000 lines

**URL:** <https://discourse.nodered.org/t/xml-1000-lines/12445>\
**Category:** General\
**Created:** [20 June 2019 22:17 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445 "2019-06-20T22:17:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![JLRDomotique](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@JLRDomotique](https://discourse.nodered.org/u/JLRDomotique)\
**Post date:** [20 June 2019 22:17 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/1 "2019-06-20T22:17:46Z")

</div>

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 ???

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 June 2019 22:20 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/2 "2019-06-20T22:20:27Z")

</div>

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,`

---

<div class="post-metadata">

**Author:** ![JLRDomotique](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@JLRDomotique](https://discourse.nodered.org/u/JLRDomotique)\
**Post date:** [21 June 2019 08:03 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/3 "2019-06-21T08:03:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [21 June 2019 08:11 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/4 "2019-06-21T08:11:35Z")

</div>

@JLRDomotique Node-RED logs the full path to the settings file it is using when it starts.

---

<div class="post-metadata">

**Author:** ![JLRDomotique](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@JLRDomotique](https://discourse.nodered.org/u/JLRDomotique)\
**Post date:** [21 June 2019 15:00 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/5 "2019-06-21T15:00:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [21 June 2019 15:10 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/6 "2019-06-21T15:10:06Z")

</div>

Are you sure you are opening /home/pi/ **dot** node-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

---

<div class="post-metadata">

**Author:** ![JLRDomotique](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@JLRDomotique](https://discourse.nodered.org/u/JLRDomotique)\
**Post date:** [21 June 2019 15:24 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/7 "2019-06-21T15:24:22Z")

</div>

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 $

---

<div class="post-metadata">

**Author:** ![JLRDomotique](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@JLRDomotique](https://discourse.nodered.org/u/JLRDomotique)\
**Post date:** [24 June 2019 12:28 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/8 "2019-06-24T12:28:40Z")

</div>

`-rw-r--r-- 1 pi pi 0 mai 5 10:44 settings.js`

My file settings.js is empty, what i have to do????

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 June 2019 12:38 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/9 "2019-06-24T12:38:14Z")

</div>

Delete the settings file and restart Node-RED. It will recreate the file with the default settings in.

---

<div class="post-metadata">

**Author:** ![JLRDomotique](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@JLRDomotique](https://discourse.nodered.org/u/JLRDomotique)\
**Post date:** [24 June 2019 13:10 UTC](https://discourse.nodered.org/t/xml-1000-lines/12445/10 "2019-06-24T13:10:18Z")

</div>

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 ....
