searching of logs