From: Michal Rakowski Date: Fri, 6 Nov 2020 11:06:05 +0000 (+0100) Subject: Tweak in bscan so that plugin object is logged based on its name, not id X-Git-Tag: Release-11.3.2~856 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df9333e0b913bc2211fe9fbec91d4ccd2825fce3;p=thirdparty%2Fbacula.git Tweak in bscan so that plugin object is logged based on its name, not id --- diff --git a/bacula/src/stored/bscan.c b/bacula/src/stored/bscan.c index f3ef4e4a8..e0610f972 100644 --- a/bacula/src/stored/bscan.c +++ b/bacula/src/stored/bscan.c @@ -811,12 +811,12 @@ static bool record_cb(DCR *dcr, DEV_RECORD *rec) } } else if (update_db) { /* Send it */ - Pmsg1(0, _("PLUGIN_OBJECT: Inserting Plugin Object (id: %lu) into the catalog\n"), obj_r.ObjectId); + Pmsg1(0, _("PLUGIN_OBJECT: Inserting Plugin Object (ObjectName: %s) into the catalog\n"), obj_r.ObjectName); if (!db_create_object_record(mjcr, db, &obj_r)) { Jmsg1(mjcr, M_FATAL, 0, _("Plugin object create error. %s"), db_strerror(db)); } } else { - Pmsg1(0, _("PLUGIN_OBJECT: Found Plugin Object (id: %lu) on the volume\n"), obj_r.ObjectId); + Pmsg1(0, _("PLUGIN_OBJECT: Found Plugin Object (ObjectName: %s) on the volume\n"), obj_r.ObjectName); } break;