adding optional logger definitions