log after select