Factor out the defaults.
Create logs using the Context functions.
Fixed a couple of log messages.