Updated log messages in order to have more accurate search errors.