tJava is a very useful component for logging purposes, because it can be used in its own sub job. This enables
tJava to be used to print job status information at given points in the process. The following recipe demonstrates this.
The steps for using tJava to display status messages and variables are as follows:
tJava_1and add the following code:
System.out.println("\n\nSearching directory "+context.cookbookData+"chapter10 for files matching wildcard *jo*\n\n");
tJava_2and add the following code:
System.out.println("Processing file: "+((String)globalMap.get("tFileList_1_CURRENT_FILE")));
tJava_3and add the ...