The output you see there is being written to standard error (as opposed to standard output). The way you log it depends on how you're running your code. If you're doing it from the command line, you can redirect that output by appending "2> output.txt" at the end of your command. For example:

java -jar MyModel.jar 2> output.txt

By comparison, you redirect standard out using:

java -jar MyModel.jar > output.txt

If you're running your code inside eclipse, it's an option in your Run Configuration to save output to a file. See here:

Good luck,

On Mon, May 13, 2019 at 2:29 PM Jennifer Longo <[log in to unmask]> wrote:


I am looking to export the information logged to the console during the execution of the step method to .csv file. What is the easiest way to access these console logs?

Thank you,



Jennifer Csicsery-Ronay née Longo

Research Assistant | Moses Biological Computation Lab

UGS | Department of Computer Science & Engineering 

University of New Mexico