View log in main window