Fixing formatting issues in log display