Loggin problems with tables that contain Blob fields #1386
-
I have a table containing a blob field, and I'm getting errors when ActivityLog tries to log changes to that table. I've set up automatic logging in the model and configured getActivityLogOptions like this:
Is there a way to exclude the blob field from the logging process without having to list the rest of the fields? The table has many fields, and I don't want to have to list them all except the blob. I want to log everything except the blob field, as the routine has issues with blobs. This is what happens because of the blob field:
By the way, it would be great if there was an exclusion method to avoid logging fields, something like this:
Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
use logExcept(["your blob field"]) return LogOptions::defaults()->logExcept(['blob_field'])->useLogName('licencia_tipo'); |
Beta Was this translation helpful? Give feedback.
use logExcept(["your blob field"])
return LogOptions::defaults()->logExcept(['blob_field'])->useLogName('licencia_tipo');