We recently had an incident where we found a bug in one of our functions. We fixed and redeployed, all good.
Then, we realized we needed to investigate further, and when we went to investigate the logs from the previous incident (from before we fixed the function), we found that they were no longer available from the interface at Netlify App
Does the functions log feature reset on a commit that changes the function?
Logs are retained for at least 24 hours of function activity, even after a new function deployment.
do you feel pretty certain you checked for the old logs within less than 24hrs? Because if you did, then this might be a bug, but over 24 hrs this might be expected. Not sure i personally can say what “at least” means, but i might be able to find someone who knows (might take a day or two)