Skip to content

[Feature] Replace Logger Implementation: Migrate from Winston to Pino #6

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

Open
scrapelesshq opened this issue May 30, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@scrapelesshq
Copy link
Contributor

scrapelesshq commented May 30, 2025

Is your feature request related to a problem? Please describe.

The current logger.ts in our SDK uses Winston for logging, which has performance bottlenecks, limited formatting capabilities, and suboptimal performance in high-concurrency scenarios.

Describe the solution you'd like

Replace the logging implementation in our SDK from Winston to Pino (https://github.com/pinojs/pino). Maintain the existing API for backward compatibility while leveraging Pino's high-performance.

Additional context

Pino is approximately 5x faster than Winston, has lower memory usage, and is better suited for cloud-native environments.

@scrapelesshq scrapelesshq added the enhancement New feature or request label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants