Inactive Tutor answered 03/24/19
Perhaps it was the integral of the tangent function.
When you integrate tangent by parts you get log secant.
When you integrate sine over cosine by parts you get log cosine.
Using limits that cross pi/2 causes one to blow up but not the other