Logging gotchas