Thank you very much Pavel, I had to be using an old syntax.
Regards, Miguel ----- Original Message ----- From: "Pavel Mracek" <[email protected]> To: "Community support for GenieACS users" <[email protected]> Sent: Thursday, 3 November, 2016 12:30:04 PM Subject: Re: Debug CPE >From source code: cwmp.coffe: if config.get('DEBUG', currentRequest.sessionData.deviceId) dump = "# RESPONSE #{new Date(Date.now())}\n" + JSON.stringify(res.headers) + "\n#{res.data}\n\n" require('fs').appendFile("./debug/#{currentRequest.sessionData.deviceId}.dump", dump, (err) -> throw err if err ) config.js: get = function(option, deviceId) { var i, name; if (deviceId != null) { name = option + "-" + deviceId; v = allConfig[name]; if (v != null) { return v; } And if I try add this into ./config.json "DEBUG-00259E-HG8245H-485754436CEF2C2E" : true, after restart and some connection from CPE found debug file in: ./debug/00259E-HG8245H-485754436CEF2C2E.dump m. On 11/02/2016 06:36 PM, Miguel Angel Bérniz wrote: > Hello, > > I am trying to debug my CPE. > > It is shown in GUI as: > > Device: 783d5b-WaveAccess4032-783d5b0243df > > I added this to config/config.json > > "DEBUG_DEVICES" : {"783d5b-WaveAccess4032-783d5b0243df" : true} > > I restarted CWMP but nothing appears in debug folder. > > Any clue? > > Thanks in advance, > > > Miguel > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
