How to get the user activity on a database for a long period?

Posted on 2004-09-22
Last Modified: 2013-12-18
is there any way to get the user activity on a database for a period of say 6 or 7 months  along with the username and the time of access ? i believe the useractivity tab on the database properties cannot hold the details pertaining to a period of 6 months... is there any other log file or something where this detail would be available? or is there any way to gather this information?

thanx in advance

Question by:anu_sha
LVL 19

Expert Comment

ID: 12130542
u can look at log.nsf

It holds all the info
LVL 13

Expert Comment

ID: 12130738
Log.nsf is usually set to delete docs after a few days (7 or 10).
You may need to alter some settings to monitor over 6 or 7 months, or e.g. create a (local?) replica: replicate only FROM the server (not "to") and do not replicate deletions.

This is for notes, right? Not for web access?
LVL 15

Expert Comment

ID: 12131816
Actually, on R6, you don't need to augment the log retention time to get activity data, if you enable activitly logging, so is it R6 or R5 ?


Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.


Author Comment

ID: 12131824
It is R5... and does the user activity get logged automatically or should any setting be explicitly enabled?

LVL 15

Accepted Solution

Bozzie4 earned 35 total points
ID: 12132804
On R5, depending on what you want, you don't need to increase the retention time either.

Check the views Database/Usage Activity documents.  They do contain number of uses per database, but not who did what.  If you want that information, it is stored in the database (File/Database/Properties/'I' - User Detail)

To have that information in the log.nsf, you'll need to increase the log retention time:  it's done in Notes.ini :

for instance, for 31 days, and documents that are 40000 bytes (I think) big.


LVL 15

Expert Comment

ID: 12132818
And yes, the 40000 in the above example means size of the log document (for Miscellaneous for example) in bytes (appr.)

LVL 31

Expert Comment

ID: 12132963
The user activity log can hold years and years of data -- or only one day worth.  It isn't limited by the number of entries.  It just holds a maximum, I think, of 64k worth of log data.  So, if the database has frequent usage, you will get limited info.  If the database has infrequent usage, you could get that far back.

On ething you could do if it only holds a month or two of data is to gather the info weekly, and do a marge of the new and old adat (because there will have to be overlap -- if there isn't overlap, that means you are losing data).

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now