Utility bean to download event logs and performance metric snapshots and
store then in binary and/or text files. The binary files can be opened
in the Workbench for later analysis. This can be run from the command
line or embedded into an application. The JDO Genie server uses an
instance of this class for its built in logging features. To use it in
an application create an instance, set properties and invoke the run()
method at regular intervals (e.g. create a Thread to do this).
Stop downloading events. This will cause one more call to the server
to get any remaining data and then the run method will return. You
should also interrupt the Thread that called run to speed exit of
the run method.