use correct logger instance