automatic log.nsf roll-over 
Use this IdeaSpace to post ideas about Domino Server.

: 25
: 26
: 1
: Domino Server / Other
: domino server, logging, log.nsf
: Jeroen Jacobs441 01 Jul 2010
: / Email
On a server with a lot of users, the log file can get very big. It's possible to archive the log.nsf file, but it doesn't reduce the file-size, and it's most of the time impossible to compact the log.nsf while the server is running.
The solution as proposed by IBM: shutdown the server and compact the log file manually via ncompact.exe
I'm proposing a new system for log file archiving, similar to how mail journaling is handled in Domino:
After a certain period, or when the log reaches a certain size, move the log to a another location and create a new empty log.nsf file.

1) Dietmar Dumke871 (16 Jul 2010)
What about log_sessions=0, log_replication=0 and something like this. To remove clutter from the log. You can also reduce the number of days before log rollover, from the default 7 days to whatever you like.
2) David Hablewitz15116 (20 Jul 2010)
IBM is wrong. Shut down the server and rename the log file to something else. Let it create a fresh new log on start up. But only do that if you really need the old log. Dietmar is quite right about adjusting the log= value in the notes.ini.

You really don't want to compact it anyway. You just want it to reuse the space so the file doesn't grow. Setting the purge value does just that. If you compact the file, it will grow large all over again. (and each time it does, it gets more fragmented on the disk unless you run a defragmentation tool constantly, like Diskkeeper.)

I personally set the value to 30 days because that gives a long enough history to see trends. Often a recurring problem is not detected within 7 days of when it starts, so you don't know when it first started. But archiving preserves the data indefinitely, which is wasteful. Having a large log in and of itself is not a problem.
3) Ivan Tsybanenko91 (03 Apr 2012)
I have "archived" all my log.nsf files to other special Domino server via replication. Also i've set short time for store log data (2 days), purge option (60 days) and disabled replication of deletions for log.nsf replicas.
I have small logs (plus short Domino restart time) and large logs archives for all servers where view indexes buid faster cause they need to be updated only after next replication.


Welcome to IdeaJam

You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>

IdeaJam developed by

Elguji Software Logo