[TEST] Add search trace logging for debugging