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
Hi, I try to export logs to the local file. But It does not work well.
When I set like the following and use "logger.info" in "/middleware.ts" , the log appear in the console only.
If I use "logger.info" in another place like "pages/api/auth/auth.ts" , the log appear in not only the console but also "./logs/app.log".
Hi, I try to export logs to the local file. But It does not work well.
When I set like the following and use "logger.info" in "/middleware.ts" , the log appear in the console only.
If I use "logger.info" in another place like "pages/api/auth/auth.ts" , the log appear in not only the console but also "./logs/app.log".
Do you have any way to export middleware logs?
The text was updated successfully, but these errors were encountered: