cancel
Showing results for 
Search instead for 
Did you mean: 

How can i print out lines from my JAVA class for debugging

oluwasegzy
Champ in-the-making
Champ in-the-making
I used System.out.println() to print lines from my JAVA code in my JAVA Backed Webscript. but i checked my stdout file in my Alfresco Server log but found nothing.


I want to debug my code at runtime


Is there a way standard for debugging at runtime in Alfresco
1 REPLY 1

mrogers
Star Contributor
Star Contributor
The "standard" way is to use log4j logging.   Look at the alfresco code for examples.

You probably want to learn to use the Java Debugger as well.