Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-8205

Log message lists an object's string representation instead of a file name

    XMLWordPrintable

Details

    Description

      Log message for ChangeLogException lists a random file name such as 'java.io.RandomAccessFile@244bb93e', which is not helpful. Please see below:

      [12/Aug/2021:02:21:03 +0000] category=SYNC severity=ERROR msgID=32 msg=An unexpected error happened handling connection with Replica DS(10) for domain "dc=example,dc=com" ChangelogException: Could not decode a record from data read in log file 'java.io.RandomAccessFile@244bb93e' (BlockLogReader.java:193 LogFile.java:542 Log.java:1043 Log.java:1222 FileReplicaDBCursor.java:81 CompositeDBCursor.java:143 CompositeDBCursor.java:88 DomainDBCursor.java:25 ServerHandler.java:804 ServerHandler.java:779 ServerWriter.java:89). This connection is going to be closed 

      The message should log a specific file name instead.

      Attachments

        Issue Links

          Activity

            People

              ondrej.fuchsik Ondrej Fuchsik
              akhil.kommadath Akhil Kommadath
              Jean-Noël Rouvignac Jean-Noël Rouvignac
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: