Using the chain rule,
dθdlog(secθ)=secθ1⋅(secθ⋅tanθ)=tanθ
Remark: the domain of the function log(secθ) is those values of θ for which secθ is positive: so, the intervals ((2n−21)π,(2n+21)π) where n is any integer. Certainly the tangent function has a larger domain than this, but outside the domain of log(secθ), tanθ is not the derivative of log(secθ).