Agent print statments in some other db in place od log.nsf

Could you please help to print the agent print statment in some different database… it is printing on log.nsf without any problem. I have tried but still the print statments are not coming to the other database.

I have written:

Dim CurrentLog As New NotesLog(“Database Log”)

Call CurrentLog.OpenNotesLog( “”, “agentlog.nsf” )

Call CurrentLog.LogAction(“document found in PPAP”)

Then the print statment is not coming to the Log.nsf and not in “Agentlog.nsf”

Not sure what wrong I am doing. Please help.!!!

Subject: agent print statments in some other db in place od log.nsf

I have no idea why you expect Print satements to go anywhere other than where they would normally go – you were told by more than one person to use a NotesLog and LogAction calls to record events in the agent log database.