Inventory-Server: greatly improve logging (at least in native mode)