refactor(controller): move domain logging