You'll need unique identifiers for items if you're talking about having more than one of the same item that can expire since with logs it'll be kinda hard. Otherwise, if it's one item per inventory, then just apply a timer (with logs if you really want) and when it expires, make a check for that and then use "RemoveItem" function.