Adding commit details and removing unsafePerformIO in getLog