mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Chris Ridd
15.22.2013 f863407c2cb4fb1fdf546ec07c5f6f03e181e5e7
CR-2598 Fix OPENDJ-1204: Access Log timestamp doesn't have milliseconds for Connect and Disconnect entries
1 files modified
12 ■■■■ changed files
opends/src/server/org/opends/server/loggers/TextAccessLogPublisher.java 12 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/loggers/TextAccessLogPublisher.java
@@ -673,9 +673,9 @@
    final long connectionID = clientConnection.getConnectionID();
    final StringBuilder buffer = new StringBuilder(100);
    buffer.append("[");
    buffer.append(TimeThread.getLocalTime());
    buffer.append("]");
    buffer.append('[');
    buffer.append(TimeThread.getUserDefinedTime(timeStampFormat));
    buffer.append(']');
    buffer.append(" CONNECT conn=");
    buffer.append(connectionID);
    buffer.append(" from=");
@@ -773,9 +773,9 @@
    final long connectionID = clientConnection.getConnectionID();
    final StringBuilder buffer = new StringBuilder(100);
    buffer.append("[");
    buffer.append(TimeThread.getLocalTime());
    buffer.append("]");
    buffer.append('[');
    buffer.append(TimeThread.getUserDefinedTime(timeStampFormat));
    buffer.append(']');
    buffer.append(" DISCONNECT conn=");
    buffer.append(connectionID);
    appendLabel(buffer, "reason", disconnectReason);