basic log listener