Fix logging in core.view