I deployed my Google App Script Webapp with the optionen execute the app as: User accessing the web app.
In the App Script Dashboard I can see the executions of the webapp and the logging. However I only see the logging when I (the owner of the app) executes it. When another user executes the webapp I only see the executions but I can not see the logging int the App Script Dashboard.
How can I also see the logging of the app independent of the user executing it?
You have two ways of seeing the executions:
Allow the other users to edit the script (if it is on developing mode), then you will be able to see all the executions from the Apps Script Dashboard.
You can link the script to a GCP project, and then you will be able to see the executions from the GCP Logs viewer. You can enter the GCP logs viewer from the script: View -> Stackdriver Logging
The issue is reported here. Consider adding a star (on the top left) for Google developers to prioritize the issue.
In the mean time, As mentioned in the previous answer, Switching GCP should work:
Switching Google cloud project
View Logs at View > Stackdriver Logging
Related
We use a Heroku pipeline for deployment review apps for our Angular app. Recently we invested in EndTest codeless automation and we need to run the test suites on every review app that is created. The url's of these review apps are dynamic in Heroku, is there a way to capture this generated url and then execute a script that would trigger my test case suite in EndTest(EndTest has an API which can consume the url).
How do I get this done in Heroku environment. I just have PROC file configured.
You could use the postdeploy script:
The app.json file has a scripts section that lets you specify a postdeploy command. Use this to run any one-time setup tasks that make the app, and any databases, ready and useful for testing. Postdeploy is handy for one-off tasks, such as:
Setting up OAuth clients and DNS
Loading seed/test data into the review app’s test database
But if you will run this script with each change to a pull request, use release phase.
The app name should be in the env variable HEROKU_APP_NAME.
I want to develop .net core desktop client application to connect bot service direct line. for that I am following this document. But I couldn't make it work. Here is way to confirm that it has been properly configured. the web page should show output like below in case everything went fine.
{"v":"123","k":true,"ib":true,"ob":true,"initialized":true}
but in my case I am getting output like below:
{"v":"1.0.0.0.55fa54091a1e3b168628d4000ee2b06a88bbc2ac","k":true,"ib":false,"ob":false,"initialized":true}
where "ib" and "ob" values are false for some reason. I found this and this issue reported on github but there is no conclusion.
any suggestion is greatly appreciated. Thanks.
Troubleshooting guid has been added to the document. verified steps below and getting proper results now:
Double check the code for using named pipes has been added to the
bot.
Confirm the bot is able to start up and run at all. Useful
tools are Test in WebChat, connecting an additional channel, remote
debugging, or logging.
Restart the entire Azure App Service the bot
is hosted within, to ensure a clean start up of all processes.
I followed Microsoft Docs on how to setup the bot project: https://learn.microsoft.com/en-us/azure/bot-service/bot-service-channel-directline-extension-net-bot?view=azure-bot-service-4.0
I did a simple echo bot project and followed the sample code in Startup.cs Configure method.
Last thing I did is to resolve an issue HTTP 500.34 when I access the /.bot as described.
You need to add: <AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel> in .csproj after <TargetFramework>netcoreapp3.1</TargetFramework>
I am having trouble starting the processes/queues for a job server deployed to Google App Engine. In the Horizon dashboard, the instance names are visible, but no processes show and jobs do not execute.
While running the code on my localhost, processes/queues do start and execute jobs. I confirmed that the horizon.php config is correct and matches my APP_ENV, yet still, no processes start.
Any guidance is appreciated!
Horizon opens and closes php processes with the proc_open and proc_close functions which are on the list of permanently disabled functions in Google App Engine. After adding these to the whitelist_functions configuration under the runtime_config in the app.yaml everything works great.
I have a jenkins pipeline job which runs a test. During the tests server logs are created. I can download the server logs into the workspace.
Can I somehow put these server logs into the result page of the job so that developers can analyze them?
You can use the archive basic step to archive your logs. It will show a link in the build page.
See documentation
I have a script which sends UI automation to test cloud and reads command output. What I would like to do is after test run finishes, download all the snapshots from test cloud. Then I can have script which runs locally to do some post verification without having someone go to the site and view each image manually. Do you know if this is possible?
Thanks,