Redirect standard output

Hello,

I’ve been searching for a while on this forum, but haven’t found the solution. I’m using LotusScript WQO or scheduled agents, with msgbox on errors. Is there a way to redirect those msgbox in an other log.nsf (maybe using the same template) ?

Like “from here, consider that all msgbox should go to the special_log.nsf”. Whatever if the msgbox continues to write on the standard log.nsf, I’d like to store my error logs in an other database, specific for my application.

Regards.

Azer

Subject: Redirect standard output

Don’t use Messagebox. Take a look at the NotesLog class in Designer Help – it will write to any specified database based on the alog4.ntf template.

Subject: Redirect standard output

Thanks a lot Stan, I’ll take a deeply look into that class but it seems to match my need !

Azer