Logging

The logger needs a permit.

There are probably some other details that are important, too.