Netlogo-logging-example is a project mainly written in JAVA and SHELL, it's free.
An Example of how NetLogo globals logging doesn't work when run under webstart
Run 'run-cli.sh' and see the globals being logged. Run 'run-webstart.sh' and see that the globals are not being logged.