Limit[Tan[x]/(Log[x + Pi/2] - Log[Pi/2 - x]), x -> Pi/2, Direction -> 1]