I used ‘print message’ and ‘frappe.log(message)’,but not worked.
I cannot find logs in web.log or web.error.log.
thanks
I used ‘print message’ and ‘frappe.log(message)’,but not worked.
I cannot find logs in web.log or web.error.log.
thanks
did you find to answer to this ?
If you are working on develop branch of frappé then you can simply write
frappe.logger().debug('Custom Message')
within the code where you want to add, message or variable for which you want to get the value. The messages will be dumped inside frappe.log
inside logs folder. A new file is created after every 20KB of data is written to the file.