I have two questions regarding logging with apps script:
1/ I have two .gs files (in the same project). One (F1) is calling the other (F2) via urlfetch
(POST request). The Logger.log
works just fine in F1, but doesn't in F2 (maybe it works too, but I just can't retrieve the logs). Do you know if it's normal or where can I find the logs of F2 ?
(If you're wondering, it's made this way so we can call the same function multiple times in parallel).
2/ My scripts are linked to a Google Cloud project and so I've seen we can retrieve some logs via Stackdriver. What logs ? Because those with Logger.log
don't seem to be visible from there.
Thanks for your help
f2function(myVar) {//code}
in F1 you can call it withf2function(sendVar);
Logger.log is reported i the same log for both .gs files. – Karl_Sll
.function ll(a,b,c) {SpreadsheetApp.openById(id).getSheetByName('name').appendRow(a,b,c)}
My function is not that simple, but I'm just showing the basics. – Alan Wells