Class ErrorLogReader

java.lang.Object
com.unboundid.ldap.sdk.unboundidds.logs.ErrorLogReader
All Implemented Interfaces:
Closeable, AutoCloseable

This class provides a mechanism for reading messages from a Directory Server error log.
NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
  • Constructor Details

    • ErrorLogReader

      Creates a new error log reader that will read messages from the specified log file.
      Parameters:
      path - The path of the log file to read.
      Throws:
      IOException - If a problem occurs while opening the file for reading.
    • ErrorLogReader

      public ErrorLogReader(@NotNull File file) throws IOException
      Creates a new error log reader that will read messages from the specified log file.
      Parameters:
      file - The log file to read.
      Throws:
      IOException - If a problem occurs while opening the file for reading.
    • ErrorLogReader

      public ErrorLogReader(@NotNull Reader reader)
      Creates a new error log reader that will read messages using the provided Reader object.
      Parameters:
      reader - The reader to use to read log messages.
  • Method Details