jchristgit/programming-site

Logging spams the console in while testing

Closed this issue · 0 comments

I messed something up when I added the file logging - namely, in debug mode, logging is a bit weird, and while testing, it keeps outputting Not Found, Forbidden, and other junk. Instead, we should log to console when debugging (I believe this is already the default), and log to both console and a file otherwise. Being able to adjust the loglevel via an environment variable would be great.