orhun / rustypaste

A minimal file upload/pastebin service.
https://blog.orhun.dev/blazingly-fast-file-sharing
MIT License
766 stars 47 forks source link

Use `tracing` instead of `log` #161

Closed orhun closed 11 months ago

orhun commented 11 months ago

Since rustypaste is a web service, it would be nice to integrate tracing_subscriber::fmt instead of plain logging via env_logger.

woshilapin commented 11 months ago

I'll try to make something about this one. Would you be interested in also converting log to tracing?

orhun commented 11 months ago

Yup, we should also use tracing instead of log. Can you make that change in the PR as well?

woshilapin commented 11 months ago

Yup, we should also use tracing instead of log. Can you make that change in the PR as well?

@orhun OK, I indeed believe it's better, even if not necessary.