adding the correct logger