configure logger if none is specified