Fixed #1816. Cleaned up logging in config.coffee.