Provisions log

european at net-c.com european at net-c.com
Mon Jul 2 11:07:19 EDT 2018


Hello Augustin and Dan,

thanks for the help, it worked!

I did following to retrieve the logs written by my Provision:
0. Create a Provisions that produces log
1. Create a "genieacs" folder in /var/log/
2. Edit config.json in genieacs/config to add:
"LOG_INFORMS" : true,
"CWMP_LOG_FILE" : "/var/log/genieacs/genie-cmwp.log",
"CWMP_ACCESS_LOG_FILE" : "/var/log/genieacs/genie-cmwp.log",
3. Stop genieacs: ./genieacs-stop.sh
4. Start genieacs: ./genieacs-start.sh
5. Go to check genie-cwmp.log and check successfully the log has been written.

BR

E.


-------------------------------------------

Content-Type: text/plain; charset="utf-8"

You can send CWMP daemon logs and provisioning scripts logs by putting
something like this in your config file:

"LOG_INFORMS" : true,
"CWMP_LOG_FILE" : "/var/log/genie-cmwp.log",
"CWMP_ACCESS_LOG_FILE" : "/var/log/genie-cmwp.log",

Let me know if works fine.
BR
Agustin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180702/d490fa34/attachment.html>


More information about the Users mailing list