added loging facilities to the in_memory model