简体   繁体   English

执行不会记录在 Apps 脚本信息中心的 Stackdriver 日志中

[英]Executions are not logged in Stackdriver logs in the Apps Script Dashboard

I am working on an Google Apps Script in a Google Sheets.我正在使用 Google 表格中的 Google Apps 脚本。

Yesterday I could see all executions of the script, trace errors, and see the result of all Logger.log lines in the Stackdriver logs in the Apps Script Dashboard.昨天,我可以在 Apps Script Dashboard 的 Stackdriver 日志中看到脚本的所有执行、跟踪错误以及所有Logger.log行的结果。 However, nothing was logged in the "Logs" (accessed via Ctrl+Enter).但是,“日志”中没有记录任何内容(通过 Ctrl+Enter 访问)。

Today, I get no information in neither the Dashboard or the Logs when I run my script.今天,当我运行我的脚本时,我在仪表板或日志中都没有得到任何信息。 I have made sure that there are no filters active in the Dashboard.我已确保仪表板中没有活动的过滤器。

Does anyone know that is going on?有谁知道这是怎么回事?

There is probably an error happening before it gets to the Logger.log().在到达 Logger.log() 之前可能会发生错误。 Revert back to Rhino from V8 (Run > Disable new Apps Script runtime...), if you need to, and look in View > Execution Transcript.如果需要,从 V8 恢复到 Rhino(运行 > 禁用新的 Apps 脚本运行时...),然后查看视图 > 执行脚本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM