create-item: downgrade warning to message

This is expected to be printed if a stream opens and closes
very quickly, like in the case of pipewire-alsa opening the device
for querying formats and then closing it immediately.
This commit is contained in:
George Kiagiadakis
2022-01-05 18:13:41 +02:00
parent 1c85139640
commit 3f3c9802d6

View File

@@ -71,7 +71,7 @@ function addItem (node, item_type)
-- activate item
items[id]:activate (Features.ALL, function (item, e)
if e then
Log.warning(item, "failed to activate item: " .. tostring(e));
Log.message(item, "failed to activate item: " .. tostring(e));
else
Log.info(item, "activated item for node " .. tostring(id))
item:register ()