Log selection working