Added tentative visualization code for logs.