How to get Jaspersoft Studio logging output from within scriptlet

Table of Contents 

Problem:

System.out log statements for a scriplet are not logging to Jaspersoft Studio's console, for example: System.out.println("call beforePageInit()"); doesn't provide output, even when including System.out.flush() statements.


Resolution:

Enabled Internal Jaspersoft Studio Console.

  1. Go to "Preferences > Jaspersoft Studio > Global Settings > Enable the internal JSS console".
  2. Restart Jaspersoft Studio. 
  3. In the console window/view (if it isn't displayed go to Window -> Show Perspective, search for console), you'll see an icon resembling a computer monitor, toggle it to "Internal JSS Console" - see .png attached. 

Ref. Case #00053494

Attachments: 
Feedback
randomness