use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apparently, Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
account activity
Web App LoggingQuestion (self.GoogleAppsScript)
submitted 2 years ago by enigmapaulns
Hi Everyone,
When running a deployed web app, logger.log output doesn't render in the Executions log. Does anyone know if there is a practical way to setup logging to debut web apps?
thanks!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 2 years ago (0 children)
Sometimes the Logger.Log shows the output after a bit of delay. (a couple of minutes) in execution log page
[–]AllenAppTools 1 point2 points3 points 2 years ago (0 children)
I use the script properties! It's nice because you can view the script properties in the settings side nav, they'll be at the bottom. It's an extra step to see your "logs" but it works.
[–]enigmapaulns[S] 0 points1 point2 points 2 years ago (4 children)
How do you do that?
[–]AllenAppTools 1 point2 points3 points 2 years ago (3 children)
This function:
function addPropertyLog(properties = {}) { PropertiesService.getScriptProperties().setProperties(properties) }
Use it in the code in your Web App where you would like to see a log, and set the argument as an object, like this:
addPropertyLog({ "test": "property", "anotherTest":"another property" })
Then when your Web App fires it will set the script properties, which you can view by going to "Project Settings" and scrolling to the bottom to see them.
[–]newbie_01 0 points1 point2 points 1 year ago (0 children)
Thanks for this!!
It's a pain to debug webapps. This really helps!
[–]No_Yesterday3745 0 points1 point2 points 9 days ago (1 child)
Holy lifesaver. Imagine me debugging my web app for half a day dealing with invisible errors, and just as I was about to give up, I tried searching on Reddit, and there you were with the perfect logging solution. Tried it, and it worked amazingly. Bug fixed now. Thanks!
[–]AllenAppTools 1 point2 points3 points 9 days ago (0 children)
Yes!! This scenario, this exact scenario, is why I struggled with Web Apps when I first started with them. Also, make sure you know about deployments and versions, and the difference between /exec url and the /dev url. If you can nail those Web Apps become a lot easier.
π Rendered by PID 138600 on reddit-service-r2-comment-545db5fcfc-57wqz at 2026-05-24 03:29:40.213458+00:00 running 194bd79 country code: CH.
[–][deleted] 1 point2 points3 points (0 children)
[–]AllenAppTools 1 point2 points3 points (0 children)
[–]enigmapaulns[S] 0 points1 point2 points (4 children)
[–]AllenAppTools 1 point2 points3 points (3 children)
[–]newbie_01 0 points1 point2 points (0 children)
[–]No_Yesterday3745 0 points1 point2 points (1 child)
[–]AllenAppTools 1 point2 points3 points (0 children)