You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using serverless-http ~2.5.0 in an existing project. By default it seems it logs every request start and end, along with a big JSON containing the request information (headers, JWT, etc). I want to either be able to customize this logging or to disable entirely to be able to use another solution like Pino. An example:
How can I achieve this? The documentation is not so clear about this. It seems I can bass an options object to the serverless handler but I cannot see an option to customize or disable logging.
The text was updated successfully, but these errors were encountered:
I'm currently using serverless-http ~2.5.0 in an existing project. By default it seems it logs every request start and end, along with a big JSON containing the request information (headers, JWT, etc). I want to either be able to customize this logging or to disable entirely to be able to use another solution like Pino. An example:
How can I achieve this? The documentation is not so clear about this. It seems I can bass an options object to the serverless handler but I cannot see an option to customize or disable logging.
The text was updated successfully, but these errors were encountered: