Fixing problems with logging perms in production