A failed Jensen application

Someone applies E(log⁡X)≤log⁡(EX)E(\log X)\le\log(EX) to a random variable that equals zero with positive probability. What is wrong with the calculation?

The real logarithm is undefined at zero, and a finite E(log⁡X)E(\log X) is unavailable. Jensen’s finite-expectation form requires the function to be defined on the support and the transformed expectation to exist.