Separating out ConsoleLogger.
Using the logger in a few more places.
Workers now use Logger.
Merge branch 'master' into replication
Merge branch 'master' into replication