Friday, March 9, 2012

Help! Domlog.nsf is 1.5GB...did you..

Follow all the directions and set up logging and all in the server document properly?

Of course you did, yet there it is that daily or monthly report log file that somehow is just HUGE!

Asked a few people but int he end, found this technote #1161104 which pointed me to an agent that had been disabled, for some reason. Enabled it back on and off we go.

The premise question was my own too:
How can you reduce the size of the Domino Web Server log (domlog.nsf)? You enable this feature to record requests handled by a Lotus Domino Web server, but find that the log database is growing large.

Here is the short answer, read the Technote for more options and details:
Cleanup agent

The Domino Web Server Log includes a Cleanup agent that removes older documents from the log. By default, it runs once a day at 1 AM and removes documents for which the date created is older than ten days. To enable the agent, take the following steps:

1. Open the Domino Web Server log (domlog.nsf), and select View, Agents.
2. Highlight the Cleanup agent and set it to Enable.
3. When prompted for the server to run on, select your Domino server's name.
4. If you wish, you can edit the schedule. For example, you can set the agent to run on a Monthly basis, instead of Daily.
    Note: Make sure you leave the Target setting as "All Documents in the database." Do not select "All new and modified documents since last run" as this will affect the results