More controller logging code