Logging: use WARN level where appropriate
[babeltrace.git] / lib / ctf-ir / event-class.c
index 5be7e7adae1591e694dadbaf3fe914641ee2349b..2731da0869e32ff2a7feacfd91ca8d56f9b56d5b 100644 (file)
@@ -881,7 +881,7 @@ int bt_ctf_event_class_serialize(struct bt_ctf_event_class *event_class,
                ret = bt_ctf_field_type_serialize(event_class->context,
                        context);
                if (ret) {
-                       BT_LOGE("Cannot serialize event class's context field type's metadata: "
+                       BT_LOGW("Cannot serialize event class's context field type's metadata: "
                                "ret=%d", ret);
                        goto end;
                }
@@ -892,7 +892,7 @@ int bt_ctf_event_class_serialize(struct bt_ctf_event_class *event_class,
                g_string_append(context->string, "\tfields := ");
                ret = bt_ctf_field_type_serialize(event_class->fields, context);
                if (ret) {
-                       BT_LOGE("Cannot serialize event class's payload field type's metadata: "
+                       BT_LOGW("Cannot serialize event class's payload field type's metadata: "
                                "ret=%d", ret);
                        goto end;
                }
This page took 0.023061 seconds and 4 git commands to generate.