Only return first day of replication event documents from log.nsf via view.getAllDocumentsByKey()

Hi,

I’ve a problem when getting log documents by key for replication events.

I tried to use view.getAllDocumentsByKey() with server name and required date as keys, while it returns no documents.

Then I only use server name as key, then it only returns documents of the first day. See the code below.

E.g. There’re replication event logs for 4/4/2005 - 4/7/2005, only log for 4/4/2005 are returned.

===== CODE EXTRACT =====

Set vw_Log = db_Log.getView(“ReplicationEvents”)

Dim key(0) As String

key(0) = “MyServer/Domain”

Msgbox vw_Log.getAllDocumentsByKey(key, True).count

===== CODE EXTRACT =====

I’ve downloaded the Log analyze databases from sandbox, while they didn’t use view.getAllDocumentsByKey(), thus can’t help.

Any idea to get replication event log with specified server AND date?

Thanks in advance.

Simon