Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High cpu usage caused by logger #324

Open
Zedo9 opened this issue Nov 4, 2022 · 1 comment
Open

High cpu usage caused by logger #324

Zedo9 opened this issue Nov 4, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Zedo9
Copy link
Contributor

Zedo9 commented Nov 4, 2022

Winston is causing 100% CPU usage when we use the file transport.

@Zedo9
Copy link
Contributor Author

Zedo9 commented Nov 4, 2022

We disabled logging to files in 4d69cab for now. We should consider adding express-winston middleware for better error logging.

The performance issue of winston when logging to files was discussed here. Some users are recommending pino as an alternative to winston for less overhead when logging to files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant