set up log4r