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 deletedFear no moreDomino 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. 

  1. Use Domino v10 and above.
  2. Have transaction logging enabled.
  3. 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 SubjectSendToFrom, 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.logwhich 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 

More information 

Date and time of the document deletion   
Database from which the document was deleted.  Relative to the data directory 
Replica ID of the database  Helps you find multiple replicas of a database in the log if the database name is not the same on all servers. 
Process that did the deletion  For example: 

  • server 
  • dbmt 
  • replica 
Name of the server or person who deleted the document   
Type of document deletion  Can be: 

  • SOFT — document is in the trash 
  • HARD — Stub delete (for example when the document is deleted from the trash) 
  • RESTORE (document restored after a SOFT delete) 
Class of document deleted  Specified as one of the following hex values: 

  • 0001 (Document – NOTE_CLASS_DATA) 
  • 0002 (About Database Document – NOTE_CLASS_INFO) 
  • 0004 (Form – NOTE_CLASS_FORM) 
UNID  Unique document identifier across replicas 
Items  Up to four field values in a deleted document to help you identify it. Specified when you enable deletion logging. Although you can specify more than four field values, only the first four that are found are shown in the log entry. Each item has three parts: the item name, the length of the item value, and the first 400 characters of the item value. 

 Then if you no longer need to monitor the document deletion on the database, run the following command: load compact <database path> -dl off 

Here’s some things to keep in mind when using this feature. 

  • When entering the compact command, no spaces inside the comma separated list of items.  

load compact mail/admin.nsf -dl on “SendTo,From,DeliveredDate” — Correct 

load compact mail/admin.nsf -dl on “SendTo, From, DeliveredDate”— Incorrect 

  • More than 4 comma separated items can be put in when entering the command. However, only 4 comma separated list of items will be logged in the deletion log file. 

Learn more about Domino Document Deletion Logging here.  

Comment wrap
Further Reading
article-img
Digital Solutions | April 15, 2021
The Countdown to the Newest HCL Domino and Sametime Begins! Join Us for Our Global Launch.
I am thrilled to announce that registration is now live for what will surely be a true, blockbuster event on June 7. This exclusive virtual event celebrates our latest versions of HCL Domino v12 and HCL Sametime. The first 1200 registrants got a free gift (we blew past that number in a couple of days!). I personally love the amazing video that helps capture the excitement as we could down the days to these “breakaway” releases. (An agenda will be released soon. Follow us on Twitter to get the latest.)  The launch event will include thought-leading sessions, demos, customer speakers, and more. And, it kicks off an exciting collection of Domino content delivered in a series we are calling the “Domino Dozen” (once you’ve registered for the launch, you will have access to this program). Each day, for 12 days following the launch, we will drop a new, essential Domino-related treasure. These pieces will include webinars, panel discussions, and technical deep dives, early access to special programs, thought leadership pieces, and more.   Also, join us for the closing keynote and happy hour on June 23 — we are calling it “Nerdi Gras” as a hat tip to the days of Lotus past. We will be releasing a party kit soon, with downloadable favors, so you can join in the fun. For those of us who’ve been on this Domino journey with us for so many years — and for those of you who we will be welcoming as new customers — we can’t wait to celebrate. Join us.
article-img
Digital Solutions | April 2, 2021
HCL Domino v12 Beta 3 Has Arrived
What a blast! In our webinar hosted this week, we announced Beta 3 is now available for download on Flexnet for all Domino customers. Watch the replay here.  This will be the last beta drop before the v12 release so don’t miss your chance to participate and help us shape the future of Domino! In this third iteration, we are unleashing another set of great features. See the full list here or read highlights below. We’ve also included a Q&A received during our webinar and a special shoutout to all our customers and partners who covered our beta in blogs and tweets below! Notes Client Highlights New 64bit Notes Basic Client For the first time ever, we are releasing a 64-bit Notes Basic client for beta testing. Many of our customers have been voting for this and we’re pleased to deliver. (See this idea from Cormac.) Our main intent for this release is to engage customers, business partners, and third-party vendors to try out 64-bit Windows Basic version and test existing extension integrations. Our plan is to provide several iterations of this 64-bit client in beta and once we feel that we have addressed most of the known and reported issues, we will release the Standard 64-bit client. More Improvements for the Workspace In Beta 2, we introduced a new Notes client user interface for the workspace. Thanks to all your feedback, we have addressed several improvement requests such as reducing excessive spacing between icons and adding the ability to change the font color of workspace database icon (which is also policy controlled). Now you can also partially or completely collapse the workspace navigator and easily identify multiple replicas with the added a visual indicator. Read more here:  Updates to the new Notes V12 workspace design  Collapsible workspace sidebar  Apple M1 Support Good news for customers planning to use Apple’s new M1 hardware with HCL Notes. Beta 3 now also supports those type of CPUs. Domino Server Password Synchronization A new secure method to synchronize password changes from Active Directory to Domino allows customers to reduce the number of passwords that users have to remember. Password changes from Active...
article-img
Digital Solutions | March 16, 2021
HCL Domino v12: The 4 New Security Features You’ve Been Waiting for
While no platform is immune to the possibility of hacking, the question I would pose is: Has your Domino infrastructure ever been hacked?  Didn’t think so. It’s probably boring to say that the most straight forward answer is HCL Domino is rock solid on security.   When set up correctly and optimised, HCL Domino is the most secure platform of its type.  It’s true though.  Reliable and secure is a good thing. A very good thing.  The HCL Domino v12 beta is out now.  If you haven't already tried it, it's free for all existing licensed Domino customers.  It's waiting there in flexnet for you to download and try it out!  It's the first time a beta of this type is in existence and it has multiple interactions (we're currently on beta 2; beta 3 is scheduled for the end of March. Register here to join us for the beta 3 webinar. What I really love about it is the almost instantaneous feedback from the beta forum, from those in charge of development.  Domino v12 is scheduled for full release in Q2 of this year.  (June 2021 timeframe is given at the moment). Read an overview of what’s coming here. Here's is a list of all the NEW NATIVE security features coming in Domino v12 and there's a whole host of them: Automating certificate management  Time-based one-time password (TOTP) authentication  Enforce internet password lockout based on IP address  TLS 1.0 is disabled by default  Support for PEM-formatted TLS host keys and certificates  Two new curves supported for TLS 1.2 ciphers that use ECDHE for forward secrecy New template signing ID uses 2048-bit keys NRPC port encryption supports forward secrecy using X25519 Import internet certificates that contain unsupported critical extensions Suppress key rollover alerts during ID vault synchronization New Query Vault command options Support for SameSite cookie  Also note native support for DKIM is planned in the 12.0.x timeline. (Again natively, you can achieve DKIM with third party mail gateways). We could argue about which are the best and more important ones here, but I'm going to concentrate on the 4 new security features in Domino v12 that...
Close