Move log slot initialization code back.

It didn't need to be moved, and was causing a bug.