[PATCH 2/2] fix a bug that use option '-k key-string' cannot search out all matched logs