profile image
Jessie Jeffrey Matias
Posts by Jessie Jeffrey Matias
article-img
Digital Solutions | August 19, 2020
Domino Document Deletion Logging: How to Solve for Missing Documents
As a Domino Administrator you might have been asked by your users, “Where is this specific email!?” It has been a long-standing issue with older versions of Domino when an important document goes missing in an application used by multiple users, with no way to identify who/what/when/how a certain document was deleted. Fear no more! Domino document deletion logging is now a feature that was made available starting from Domino v10. You now have the ability to explain what might happen to the document they are looking for.  So, how can you implement it? It’s as simple as running compact task on a database, literally! A new compact task option is available to enable logging of data about deleted documents in databases that you specify. Here are the key requirements for such feature.  Use Domino v10 and above. Have transaction logging enabled. Run compact task against the database that you want to monitor:   load compact <database path> -dl on "<comma separated list of items>"  where <database path> is a specific database or a directory of databases, relative to the data directory, for example, mail or discussion.nsf.   <comma separated list of items> is a list of fields to show in the logs to help you identify deleted documents. The fields must be one of these types: Text, Text_List, RFC822_Text, or Time. Suggested fields for mail documents are Subject, SendTo, From, and DeliveredDate. If you have custom fields on a document, you can use them as well.  The data is logged to a deletion log file called delete.log, which is located under the server Data directory, IBM_TECHNICAL_SUPPORT folder. When documents are deleted from a database, entries are added to that file.  When the server is restarted, a new deletion log file is created. Old deletion log files are renamed to delete_<servername>_yyyy_mm_dd@hh_mm_ss.log; for example: delete_Server1\Renovations_2020_01_10@06_28_45.log  Deleting a document from a database adds an entry to the current deletion log file with the following data. This data is provided in a CSV-compatible format.  Data in deletion log entry ...
a/icon/common/search Created with Sketch.