Avoid duplicate console logging