implemented first version of internal log viewer