config: Switch logging to new config system
main: Make it more obvious what helper to use for exiting
Merge pull request #388 from adamcik/feature/config-logging

config: Switch logging to new config system