Studying for a test in course about stochastic processes, here's a test question that I can't fully understand:
An insurance company insures its policyholders against damages of a particular kind. Damages of this kind are reported by the policyholders according to a Poisson process with intensity λ = 10 (per month). For each reported such damage, the company pays out a random amount which is exponentially distributed with mean 5 (thousand dollars). The different amounts are independent of each other and of the number of damages. Let X be the total amount paid out by the company for this kind of damages during one month. Compute the moment generating function for X.
And here is the solution:
I don't understand the last part of the solution. Specifically why the need to take the log of φZ. Perhaps anyone here can share some insight.

self-study, even if it's an enquiry concerning conceptual difficulties with a solution. – microhaus Aug 05 '21 at 15:49