<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>Thank you very much Pavel,<br><br>I had to be using an old syntax.<br><br>Regards,<br><br>Miguel<br><br><div><br></div><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Pavel Mracek" <mracek@poda.cz><br><b>To: </b>"Community support for GenieACS users" <users@lists.genieacs.com><br><b>Sent: </b>Thursday, 3 November, 2016 12:30:04 PM<br><b>Subject: </b>Re: Debug CPE<br><br>From source code:<br><br>cwmp.coffe:<br>if config.get('DEBUG', currentRequest.sessionData.deviceId)<br> dump = "# RESPONSE #{new Date(Date.now())}\n" +<br>JSON.stringify(res.headers) + "\n#{res.data}\n\n"<br> <br>require('fs').appendFile("./debug/#{currentRequest.sessionData.deviceId}.dump",<br>dump, (err) -><br> throw err if err<br> )<br><br>config.js:<br>get = function(option, deviceId) {<br> var i, name;<br> if (deviceId != null) {<br> name = option + "-" + deviceId;<br> v = allConfig[name];<br> if (v != null) {<br> return v;<br> }<br><br><br>And if I try add this into ./config.json<br>"DEBUG-00259E-HG8245H-485754436CEF2C2E" : true,<br><br>after restart and some connection from CPE found debug file in:<br>./debug/00259E-HG8245H-485754436CEF2C2E.dump<br><br><br>m.<br><br><br>On 11/02/2016 06:36 PM, Miguel Angel BĂ©rniz wrote:<br>> Hello, <br>><br>> I am trying to debug my CPE. <br>><br>> It is shown in GUI as: <br>><br>> Device: 783d5b-WaveAccess4032-783d5b0243df<br>><br>> I added this to config/config.json<br>><br>> "DEBUG_DEVICES" : {"783d5b-WaveAccess4032-783d5b0243df" : true}<br>><br>> I restarted CWMP but nothing appears in debug folder.<br>><br>> Any clue?<br>><br>> Thanks in advance,<br>><br>><br>> Miguel <br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.genieacs.com<br>> http://lists.genieacs.com/mailman/listinfo/users<br><br>_______________________________________________<br>Users mailing list<br>Users@lists.genieacs.com<br>http://lists.genieacs.com/mailman/listinfo/users<br></div><br></div></body></html>