Made Logging Configurable