Is there any expectation for retaining historical logs for background functions?
If not, can i raise my timeout limit for more than 26 seconds?
I have some functions that cannot be split in more than one that sometimes reach timeout limit, but i cant change to background because their logs are very important do debug
We’ve been working on some better monitoring for Background Functions, which include historical logs as well, but so far, it’s far from complete or from having an ETA.
There’s currently no way to bump the time limit more than 26 seconds either. I’d advise you to store the logs on an external service for the time being.
Appreciate the honest feedback and very sorry for the struggle to find that information! Per your feedback, we’re already working with our documentation team to update the docs to make this information easier to find.
We’ve also filed a feature request to include these logs in our log drains, but since I cannot guarantee that will happen, Hrishikesh’s advice above:
I’d advise you to store the logs on an external service for the time being.
…remains the best workflow we have for storing your background logs functions for today.