Not able to retreive log entries #1411
Labels
api: logging
Issues related to the googleapis/nodejs-logging API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
So I have the following function here:
What I'm having an issue is I have my production logs stored in a logging bucket called "prod", however the above code only works on the project scope rather than on a per-bucket scope, so it basically can't find the logs, because it can't see the logging bucket.
Is there a way to direct it so that it sends the request to a specific logging bucket? I can't find much online, and I have found a function in the source code for the loggin API about retreiving a list of logging buckets in the project, which works, but how do I set it to use that bucket now?
Btw, I hardcoded the timestamp for now to keep it simple.
The text was updated successfully, but these errors were encountered: