DAR-62 added logging in wrong place, fix