add transitions logging to router