Use the correct logger object