Alloc: Added support for logs in the allocator.