This package contains some examples that demonstrate how to log events to
different facilities.
- LogToDiskFile
- Write events to a disk file.
- LogToNTEventLog
- Write events to the Windows NT event log. This class uses the JNI
to interact with the Windows NT event log. The code for this is in the
examples.nativecode directory.
- LogToUnixEventLog
- Write events to the UNIX event log (which is normally
/var/adm/messages). This class uses the JNI to interact with the UNIX
event logging system. The code for this can be found in the
examples.nativecode directory. The syslog daemon on your system
should be configured to report the appropriate events.
© IBM Corporation 2002. All Rights Reserved