Open bitsgalore opened 7 years ago
Interested in the outcome of this. I've mostly been putting custom strings into eventDetail, but have been interested in seeing logs added. I guess eventDetailExtension is more for machine Readable xml logs? Will have to check.
Content of logs written to eventOutcomeDetailNote field in https://github.com/KBNLresearch/omSipCreator/commit/7ab36f88b28715b7a9814efce82a7c1ae65d46e2
TODO: this looks OK for the (very detailed) dBpoweramp logs, but less so for the Isobuster logs which only contain an error code, which is something one would normally write to eventOutcome.
UPDATE: the IsoBuster DFXML report (now stored as file-level techMD section) also contains some fields that are really event metadata. E.g.:
<dfxml:creator>
<dfxml:program>IsoBuster</dfxml:program>
<dfxml:version>4.1.0.14</dfxml:version>
<dfxml:execution_environment>
<dfxml:start_time>2018-02-06T11:12:15</dfxml:start_time><!--GMT-->
<dfxml:os_version>Windows 7 (2.6.1.7601)</dfxml:os_version>
<dfxml:username>jkn010</dfxml:username>
</dfxml:execution_environment>
</dfxml:creator>
<dfxml:source>
<dfxml:device_model>TEAC DV-W5600S</dfxml:device_model>
<dfxml:image_filename/>
<dfxml:image_size/>
<dfxml:sectorsize>2048</dfxml:sectorsize>
<dfxml:devicesectors coding="base10">110225</dfxml:devicesectors>
</dfxml:source>
So maybe extract/copy these fields over to PREMIS event in digiprovMD?
From the PREMIS Data Dictionary:
http://www.loc.gov/standards/premis/v3/premis-3-0-final.pdf
Page 16:
So detailed log contents should probably go to eventOutcomeDetail and/or eventDetail.
Isobuster log is only a status code. dBPoweramp extraction is very elaborate. Example:
Perhaps split 'Drive & settings' and 'Extraction log'to 2 separate elements.
PREMIS in METS examples:
https://www.loc.gov/standards/premis/examples.html
LoC Guidelines for PREMIS in METS:
https://www.loc.gov/standards/premis/guidelines2017-premismets.pdf
From BnF audio example: