Added option to display log messsages