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


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

To post to this group, send email to

For more options, visit



1 Like