Class SdkStandardLogger

java.lang.Object
software.amazon.awssdk.core.SdkStandardLogger

public final class SdkStandardLogger extends Object
A centralized set of loggers that used across the SDK to log particular types of events. SDK users can then specifically enable just these loggers to get the type of that they want instead of having to enable all logging.
  • Field Details

    • REQUEST_LOGGER

      public static final Logger REQUEST_LOGGER
      Logger providing detailed information on requests/responses. Users can enable this logger to get access to AWS request IDs for responses, individual requests and parameters sent to AWS, etc.
    • REQUEST_ID_LOGGER

      public static final Logger REQUEST_ID_LOGGER
      Logger used for the purpose of logging the request id extracted either from the http response header or from the response body.
  • Method Details

    • logRequestId

      public static void logRequestId(SdkHttpResponse response)
      Log the response status code and request ID