Improved logging in TaskBuilder, PortsMatcher