More robust logging
I suppose that if I were a real grown-up, I would give this script its own log files… but, at least it’s writing to the server logs. Theoretically.