Java Agent Output

Hi friends,i have written simple NotesJava script.

I wanted to know where the output of the agentscript goes ?

i checked in notes Log & notes java console.its not there.

public void NotesMain(){

Session sess=getSession();

try{

AgentContext agcon=sess.getAgentContext();

Database db=agcon.getCurrentDatabase();

String title=db.getTitle();

DocumentCollection dc=db.getAllDocuments();

System.out.println(“Database"”+title +“" has” + dc.getCount() + " documents");

}catch(Exception ne){

  ne.printStackTrace();

}

Subject: It goes to the Java Debug Console…

To see it, click Tools > Show Java Debug Console from the menu.