Things WILL get VERY technical when two experts face-off in a unique session that explores polar perceptions regarding various types of logs, verbosity levels, data extraction, responses for alerts, and more. Be it Domino, Sametime, or Traveler operating on-prem. or in Hybrid and Cloud environments, it is vital to have an understanding of log data structure, what is (or isn't) logged and why, and how to search logs effectively. But aren't there ways to find your information without having to pipe everything into the log? Where does one's best practice end and another's begin? From this collision of opposing viewpoints and real-world stories, you'll take away knowledge and tools ready to deploy to various scenarios, products, and log types.
3. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Speaker
• Ben Menesi
§ Head of Product at Ytria
§ IBM Notes Administration & Development
§ Certified Domino Admin, Dev and Adv.
Security Professional v7+
§ Speaker at ICS / ESS tech conferences
around the globe
§ IBM Champion ‘14 – ‘16
4. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Speaker
• Chris Miller
§ Director, Collaboration at Connectria
§ @IdoNotes on everything
§ IBM Champion ’11 – ‘16
5. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Questions to ask ourselves
• Does Domino always display what is logged?
• Does Domino always log what it displays?
6. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Agenda
• Mail Logging
• User Activity Logging
• Replication Logging
• Web Server Logging
• DDM vs. Other methods
• Logging Agents
7. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Mail Logging
• Daily logging is different than troubleshooting logging
§ The goal is reduce logged data and utilize built in tools
• MTC can be your friend across a domain for daily logging
issues
8. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Mail Rule issues
• Mail rules are frequent troublemakers for Administrators
§ Let’s understand their architecture a bit better
§ Tip: Create and save a new Mail Rule document to resync all rules
§ More info: http://techlab.ytria.com/5243/ibm-notes-secrets/mail-
rules-architecture-sort-scanez/
MailRule Conditions Actions $FilterFormula
CalendarProfile $FilterFormula_x
9. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Mail Tools
• Mail File Digest - summary report for mailfiles and mail-in
databases from OpenNTF
§ http://idonot.es/mailfiledigesttool
• Downside: Server add-on, requires downtime to get done, plus only
supports 801, 852 and 9
10. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
User Activity
• Who’s accessing what?
§ Increasingly important question whether you’re:
• Upgrading / consolidating your environment
• Considering going to the cloud
• In the process of migrating
§ What data to use and HOW to use it
• Frequently used databases and apps that aren’t used at all?
11. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
User Activity
• Possible Data Sources
Activity
Trends
Database
User
Activity
Log.nsf
User
Activity
3rd Party
Solutions
§ Valuable high level
reports
§ Not very customizable
§ Lack of customization
leads to inaccuracies
§ Very detailed logs
§ Really crucial info
buried inside one text
field
§ Unless through 3rd
party tools: NONO
§ Great amount of detail
§ Only available per
database
§ To be discussed later
§ Amazing products out
there
§ Some installed on
server side
§ Some client side
§ To be discussed later
12. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
User Activity
• Activity Trends
§ Offers high level reports on various
aspects of application usage
• Inactive databases and users
• % of space used, growth data
§ Cons:
• Considers EVERYTHING
– Sometimes you want to be able to dig deeper. And filter who you want to
look at.
13. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
User Activity
• Log.nsf Usage Session Activity
§ What do we want to know?
• ForEach(database) what did our users do? (read / written/ bytes etc..)
§ What do we have?
• ForEach(session) Σread, Σwritten, Σbytes read etc…)
§ See the issue?
14. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
User Activity
• Recorded User Activity
§ User Activity can be a *VERY* rich source of data
§ Tip: No_Force_Activity_Logging=0 (Default value) allows on ALL
dbs
§ Tip: Set confidential to prevent users with lower than Designer
access
15. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
User Activity
• Prior to ODS 48
§ Entry size allocated 44 bytes, object size 61600 bytes (max 1400)
• ODS 48+ (undocumented improvement)
§ Entry size 92 bytes. Object size 128800 bytes (same max 1400)
§ Curious: only two additional counters added, yet ODS48+ entry
size is over 2x the size of ODS48 – why?
Date & Time Reads Writes User
Date & Time Reads Writes Updates Deletes User
16. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
User Activity
• Does Notes only capture what it displays?
§ Nope
§ Read more: http://techlab.ytria.com/5448/lotus-notes-
articles/interpret-user-activity-traces-portrait-global-usage/
Reads Adds Updates Deletes
Data
Non
Data
Σ
Data
Non
Data
Σ
Data
Non
Data
Σ
Data
Non
Data
Σ
17. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
User Activity
• Cons
§ Only available per database
• You have free tools available to facilitate working with this data
across multiple databases: http://www.agecom.com.au/useractivity
– Or implement via W32_NSFDbGetUserActivity
– Or get Ytria’s databaseEZ
§ Makes no difference between users and servers
• Filtering this info is easy in tools like databaseEZ
§ Only maintains 1400 entries
• Funny you should say that…
18. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
User Activity
• 3rd Party products for usage analysis
§ Domino Doublecheck
• http://goo.gl/maL0fo
§ Panagenda iDNA
• https://www.panagenda.com/products/idna
§ Ytria databaseEZ & consoleEZ
• http://ytria.com/databaseez
• http://ytria.com/consoleEZ
19. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Replication Logging
• Replication is a subject that raises various questions such as
§ How do I make sure replication runs smoothly?
§ What do I do when problems occur (and problems do occur)
20. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Replication Logging
• Various Replication diagnostic tools are available such as the
Log_Replication notes.ini parameter.
§ The log file and log_replication is pretty useless
§ What if we want to know what exactly happens during replication?
• Set Log_Replication=3 to get information about each replicated note:
21. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Web Server Logging
• Filtering and excluding
22. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Web Server Logging
• Consolidating HTTP & Miscellaneous Logs
§ Use the HTTPLogUnauthorized=1 Notes.ini Parameter
• Logs 401 HTTP Errors in console AND Misc. log events
• HTTP Users attempting to access resources they aren’t entitled to
access + user authentication requests.
23. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
DDM vs. Other methods
• DDM is about building proper triggers for logged and non-
logged data
§ DDM takes effort to configure properly
§ Domino exposes all errors but does not technically log them
24. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
DDM vs. Other methods
• How to extract more from Log.nsf?
§ There is MUCH more data in your logs than you know
§ Extract more data from your log documents using formulas such
as:
• # of events, unique events
• Highest severity event encountered
• # of various severity events
• Total # of messages transferred per each Mail Routing document
§ More info: http://www.slideshare.net/BenedekMenesi/ibm-
connected-2015
25. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
DDM and Stat Tools
• Andy Pedisich statrep.nsf customization
§ http://www.andypedisich.com/blogs/andysblog.nsf/dx/resources.h
tm
26. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Agent Logging
• Debugging Agents through Print statements is BAD
§ How can we log and control our agents better?
• OpenLog on OpenNTF
§ https://www.openntf.org/main.nsf/project.xsp?r=project/OpenLog
• Thomas Lindberg Agent Controller (OpenNTF)
§ https://www.openntf.org/main.nsf/project.xsp?r=project/AgentCon
troller
• AgentEZ
§ http://www.ytria.com/agentEZ
27. 2016ConnectThe Premier Social Business and Digital Experience Conference
MakeEveryMomentCount
Thank you
• Thank you for attending!
§ Feel free to get in touch:
• Ben Menesi (@BenMenesi): ben.menesi@ytria.com
• Chris Miller (@Idonotes): chris@idonotes.com