add log display feature