I’m having a hard time debugging in the Netlify Functions Log. Over and over again it seems like there’s a character limit on the output and so a lot of the outputted log information appears to get cut off. Is this normal behavior?
Thanks
There is a character limit on loglines - something around 4096 characters apiece if I recall correctly.
. You’ll want to make sure your lines are shorter than that (you can log as many as you want :))
1 Like
In my practical experience, I am usually logging event.body
(because I am curious like that ) from the Netlify Lambda functions handler method: exports.handler = function(event, context, callback) { console.log(event.body)}
. That must be larger than 4000 chars? Thanks.