Now the configure method clears the loggers of the handlers before
adding the new ones