[PATCH 2/2] logging: Remember the target we found