Class PLog

java.lang.Object
org.eclnt.util.log.PLog
All Implemented Interfaces:
CLogConstants

public class PLog extends Object implements CLogConstants
Server side performance logging.
  • Field Details

  • Constructor Details

    • PLog

      public PLog()
  • Method Details

    • setCurrentRequestApplicationInfo

      public static void setCurrentRequestApplicationInfo(String applicationInfo)
      Each request is porotocolled with one line of comma separated values. You can set the value of the "ApplicationInfo" section by calling this method.
    • clearCurrentRequestApplicationInfo

      public static void clearCurrentRequestApplicationInfo()
    • getCurrentRequestApplicationInfo

      public static String getCurrentRequestApplicationInfo()
    • updateLogLevel

      public static void updateLogLevel(Level newLevel)
    • logClientProcessingInfo

      public static void logClientProcessingInfo(String sessionId, String clientPerformanceData)
      Adding performance data that is sent from the client. This data is added at the begin of a request processing. The content is a complex value in the format "name:value;name:value".
    • logRequestInfo

      public static void logRequestInfo(String sessionId, long total, long invoke, String expression, long consumedNanosGet, long stampStartOfClientProcessing, long stampStartOfServerProcessing, String requestId, long stampStartOfWritingResponse, String applicationInfo)
      Data added at end of processing.
    • logFileDownloadInfo

      public static void logFileDownloadInfo(String sessionId, long total, long numberOfBytes)
    • logFileUploadInfo

      public static void logFileUploadInfo(String sessionId, long total, long numberOfBytes)
    • logMemoryInfo

      public static void logMemoryInfo()
    • logApplicationInfo

      public static void logApplicationInfo(String keyword, String info)
      Interface for the application processing to add any information to this log.