Extracting configurability of logger and database

By pushing the information to the configuration, I'm allowing it to
flex and change.