I have some code that I have been using to automate changing ca_object_representation names, etc using direct database access: i.e.
$qry = "UPDATE ca_object_representations
INNER JOIN ca_object_representation_labels ON ca_object_representation_labels.representation_id = ca_object_representations.representation_id
SET idno = '$newid' , name = '$newname' WHERE ca_object_representations.representation_id = '$rep_id'";
$qr_ups = $o_db->query($qry, $va_params);
...
This, of course does NOT cause the changes to be logged.
What is the proper way to make database updates that will cause the changes to be logged?
or....how do I manually push a log message?
Thank you