where to see the output of a Lotus Notes agent?

I have following simple agent wrriten in java:

import lotus.domino.*;
public class JavaAgent extends AgentBase {
      public void NotesMain() {
      try {
           Session session = getSession();
           AgentContext agentContext = session.getAgentContext();

          // (Your code goes here)
         Database db = agentContext.getCurrentDatabase();
               ACL acl = db.getACL();
               ACLEntry acle = acl.getFirstEntry();
                        do {
                         System.out.println(acle.getName());             
                        } while ((acle = acl.getNextEntry(acle)) != null);
            } catch(Exception e) {
                  e.printStackTrace();
            }
      }
}

When I run this agent from Lotus Notes client, the agent ran and finishes without problem, but I can't see any output from the line System.out.println. Where can I see the output? Thanks.
dominoPgrAsked:
Who is Participating?
 
Sjef BosmanConnect With a Mentor Groupware ConsultantCommented:
I assume, if the agent is run on your client PC, that the output can be found in the Java console (Tools/Show Java Debug Console). If the agent runs on the server, you'd have to look in the log.nsf database, the Miscellaneous section.
0
 
Emmanuel GleizerCommented:
Btw I suggest you to use the openlog library. This will give you the option to quite in a dedicated DB log look in opentntf.org
0
 
dominoPgrAuthor Commented:
Found it in Show Java Debug Console. Thank you!
0
All Courses

From novice to tech pro — start learning today.