use the correct logger