Configure logging based on environment config

@robyoung
@gtrogers