fix log messages for allocator. fix handling for empty DB name