fix log messages collection