modify logger of configure method