Added Logging Feature