changed initialization to use default logger instead of a new one