add lines in scanRevision to get commit message for hash
make displayLogs prettier