Adding log4r to the engine