Defining your log table as an acs_object you get automatically the opportunity to attach any file to your log entry using the general-attachments package.
In simpler cases you could define two more columns in your table to store the content of the attachment (type oid) and its mime_type.