Lazy loading of logger and database storage

Since these are configuration options, no sense attempting to
initialize them.