Change debug.log from UTC to localtime. Fixes #3872.

I don't know if we actually want to change this, just preparing a commit just in case. We also may want to add a ISO 8601 +02:00 type thing, but I'm yet to work that out.