This PR changes all the println invocations to appropriate calls from the log crate.
I've also restored the commented-out print statements used historically for debugging and replaced them with debug! macro invocations so an end-user can re-enable them for troubleshooting purposes.
I've used the env_logger crate as an implementation for the log crate since it's simple and implements the RUST_LOG environment variable handling the way it is documented in the docker-compose file.
I've tested this PR on my own private invidious instance.
This PR changes all the println invocations to appropriate calls from the log crate.
I've also restored the commented-out print statements used historically for debugging and replaced them with debug! macro invocations so an end-user can re-enable them for troubleshooting purposes.
I've used the env_logger crate as an implementation for the log crate since it's simple and implements the RUST_LOG environment variable handling the way it is documented in the docker-compose file.
I've tested this PR on my own private invidious instance.