redone logging config