Added logger congig method