Added log and some logging details