Debugging / Understanding using logging

Dear all,

Added a basic logging system so that you can get a better idea of what is going on in the system.

To activate, set "logging = 1" in conf.py and keep your console open.

To add log messages, use webnotes.log([message]) in your code and those will be shown in the javascript console.

To show all SQL queries in the server, use logging = 2

(be sure to keep your javascript console open)

best,
Rushabh

W: https://erpnext.com
T: @rushabh_mehta



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

1 Like