Java Client: Monitor the remote realm log and audit file
This example demonstrates how to monitor a realm's log and audit files.
Usage
nauditandloglistener <-l logfile> <-a auditfile> <-replay>
[Optional Arguments]
<-l logfile> - A file name to store the log messages to (without this it
will go to system.out
<-a auditfile> - A file name to store the audit messages to (without this it
will go to system.out
<-replay> - Specifies if the entire audit file will be replayed
Note: -? provides help on environment variables
Application Source Code