Reading logs of a deployed Google script -
is there way read logs of published google apps script?
presently able logs using logger.log()
in debug mode.
but when face issues script once published, becomes impossible cause.
not possible. depending on way executed, can @ last run log, gets lost on next script run log. make own logger function, example doing appendrow on spreadsheet. ive done 1 logs full stack trace per log, way better native logger. of course asssumes logging rare events consume more quotas. see here sample code on logging stacktrace , such (scroll middle): http://plusfortrello.blogspot.com/2013/08/spent-for-trello-google-apps.html
Comments
Post a Comment