Skip to content

Commit

Permalink
fix: remove custom request body logger (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
anssari1 authored Mar 26, 2024
1 parent 4d23e12 commit d3c5029
Show file tree
Hide file tree
Showing 75 changed files with 536 additions and 214 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ internal data class LoggingConfiguration(
override val httpClientConfiguration: HttpClientConfig<out HttpClientEngineConfig>,
val maskedLoggingHeaders: Set<String>,
val maskedLoggingBodyFields: Set<String>,
val level: LogLevel = LogLevel.HEADERS,
val level: LogLevel = LogLevel.ALL,
val getLogger: (client: Client) -> Logger = createCustomLogger
) : KtorPluginConfiguration(httpClientConfiguration) {
companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ internal object LoggingPlugin : Plugin<LoggingConfiguration> {
client.getLoggingMaskedFieldsProvider().getMaskedHeaderFields().contains(header)
}
}
configurations.httpClientConfiguration.install(RequestBodyLogger)
// configurations.httpClientConfiguration.install(RequestBodyLogger)
configurations.httpClientConfiguration.install(ResponseBodyLogger)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[JVM]\

public [ExpediaGroupApiAccountTakeoverBadRequestErrorException](index.md)[ExpediaGroupApiAccountTakeoverBadRequestErrorException](-expedia-group-api-account-takeover-bad-request-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountTakeoverBadRequestError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-takeover-bad-request-error/index.md)errorObject)
public [ExpediaGroupApiAccountTakeoverBadRequestErrorException](index.md)[ExpediaGroupApiAccountTakeoverBadRequestErrorException](-expedia-group-api-account-takeover-bad-request-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountTakeoverBadRequestError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-takeover-bad-request-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class [ExpediaGroupApiAccountTakeoverBadRequestErrorException](inde

| | |
|---|---|
| [ExpediaGroupApiAccountTakeoverBadRequestErrorException](-expedia-group-api-account-takeover-bad-request-error-exception.md) | [JVM]<br>public [ExpediaGroupApiAccountTakeoverBadRequestErrorException](index.md)[ExpediaGroupApiAccountTakeoverBadRequestErrorException](-expedia-group-api-account-takeover-bad-request-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountTakeoverBadRequestError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-takeover-bad-request-error/index.md)errorObject) |
| [ExpediaGroupApiAccountTakeoverBadRequestErrorException](-expedia-group-api-account-takeover-bad-request-error-exception.md) | [JVM]<br>public [ExpediaGroupApiAccountTakeoverBadRequestErrorException](index.md)[ExpediaGroupApiAccountTakeoverBadRequestErrorException](-expedia-group-api-account-takeover-bad-request-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountTakeoverBadRequestError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-takeover-bad-request-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId) |

## Properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[JVM]\

public [ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](index.md)[ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](-expedia-group-api-account-takeover-unauthorized-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountTakeoverUnauthorizedError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-takeover-unauthorized-error/index.md)errorObject)
public [ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](index.md)[ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](-expedia-group-api-account-takeover-unauthorized-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountTakeoverUnauthorizedError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-takeover-unauthorized-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class [ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](in

| | |
|---|---|
| [ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](-expedia-group-api-account-takeover-unauthorized-error-exception.md) | [JVM]<br>public [ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](index.md)[ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](-expedia-group-api-account-takeover-unauthorized-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountTakeoverUnauthorizedError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-takeover-unauthorized-error/index.md)errorObject) |
| [ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](-expedia-group-api-account-takeover-unauthorized-error-exception.md) | [JVM]<br>public [ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](index.md)[ExpediaGroupApiAccountTakeoverUnauthorizedErrorException](-expedia-group-api-account-takeover-unauthorized-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountTakeoverUnauthorizedError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-takeover-unauthorized-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId) |

## Properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[JVM]\

public [ExpediaGroupApiAccountUpdateNotFoundErrorException](index.md)[ExpediaGroupApiAccountUpdateNotFoundErrorException](-expedia-group-api-account-update-not-found-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountUpdateNotFoundError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-update-not-found-error/index.md)errorObject)
public [ExpediaGroupApiAccountUpdateNotFoundErrorException](index.md)[ExpediaGroupApiAccountUpdateNotFoundErrorException](-expedia-group-api-account-update-not-found-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountUpdateNotFoundError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-update-not-found-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class [ExpediaGroupApiAccountUpdateNotFoundErrorException](index.md

| | |
|---|---|
| [ExpediaGroupApiAccountUpdateNotFoundErrorException](-expedia-group-api-account-update-not-found-error-exception.md) | [JVM]<br>public [ExpediaGroupApiAccountUpdateNotFoundErrorException](index.md)[ExpediaGroupApiAccountUpdateNotFoundErrorException](-expedia-group-api-account-update-not-found-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountUpdateNotFoundError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-update-not-found-error/index.md)errorObject) |
| [ExpediaGroupApiAccountUpdateNotFoundErrorException](-expedia-group-api-account-update-not-found-error-exception.md) | [JVM]<br>public [ExpediaGroupApiAccountUpdateNotFoundErrorException](index.md)[ExpediaGroupApiAccountUpdateNotFoundErrorException](-expedia-group-api-account-update-not-found-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [AccountUpdateNotFoundError](../../com.expediagroup.sdk.fraudpreventionv2.models/-account-update-not-found-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId) |

## Properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[JVM]\

public [ExpediaGroupApiBadGatewayErrorException](index.md)[ExpediaGroupApiBadGatewayErrorException](-expedia-group-api-bad-gateway-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [BadGatewayError](../../com.expediagroup.sdk.fraudpreventionv2.models/-bad-gateway-error/index.md)errorObject)
public [ExpediaGroupApiBadGatewayErrorException](index.md)[ExpediaGroupApiBadGatewayErrorException](-expedia-group-api-bad-gateway-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [BadGatewayError](../../com.expediagroup.sdk.fraudpreventionv2.models/-bad-gateway-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class [ExpediaGroupApiBadGatewayErrorException](index.md) extends E

| | |
|---|---|
| [ExpediaGroupApiBadGatewayErrorException](-expedia-group-api-bad-gateway-error-exception.md) | [JVM]<br>public [ExpediaGroupApiBadGatewayErrorException](index.md)[ExpediaGroupApiBadGatewayErrorException](-expedia-group-api-bad-gateway-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [BadGatewayError](../../com.expediagroup.sdk.fraudpreventionv2.models/-bad-gateway-error/index.md)errorObject) |
| [ExpediaGroupApiBadGatewayErrorException](-expedia-group-api-bad-gateway-error-exception.md) | [JVM]<br>public [ExpediaGroupApiBadGatewayErrorException](index.md)[ExpediaGroupApiBadGatewayErrorException](-expedia-group-api-bad-gateway-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [BadGatewayError](../../com.expediagroup.sdk.fraudpreventionv2.models/-bad-gateway-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId) |

## Properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[JVM]\

public [ExpediaGroupApiBadRequestErrorException](index.md)[ExpediaGroupApiBadRequestErrorException](-expedia-group-api-bad-request-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [BadRequestError](../../com.expediagroup.sdk.fraudpreventionv2.models/-bad-request-error/index.md)errorObject)
public [ExpediaGroupApiBadRequestErrorException](index.md)[ExpediaGroupApiBadRequestErrorException](-expedia-group-api-bad-request-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [BadRequestError](../../com.expediagroup.sdk.fraudpreventionv2.models/-bad-request-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class [ExpediaGroupApiBadRequestErrorException](index.md) extends E

| | |
|---|---|
| [ExpediaGroupApiBadRequestErrorException](-expedia-group-api-bad-request-error-exception.md) | [JVM]<br>public [ExpediaGroupApiBadRequestErrorException](index.md)[ExpediaGroupApiBadRequestErrorException](-expedia-group-api-bad-request-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [BadRequestError](../../com.expediagroup.sdk.fraudpreventionv2.models/-bad-request-error/index.md)errorObject) |
| [ExpediaGroupApiBadRequestErrorException](-expedia-group-api-bad-request-error-exception.md) | [JVM]<br>public [ExpediaGroupApiBadRequestErrorException](index.md)[ExpediaGroupApiBadRequestErrorException](-expedia-group-api-bad-request-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [BadRequestError](../../com.expediagroup.sdk.fraudpreventionv2.models/-bad-request-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId) |

## Properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[JVM]\

public [ExpediaGroupApiForbiddenErrorException](index.md)[ExpediaGroupApiForbiddenErrorException](-expedia-group-api-forbidden-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [ForbiddenError](../../com.expediagroup.sdk.fraudpreventionv2.models/-forbidden-error/index.md)errorObject)
public [ExpediaGroupApiForbiddenErrorException](index.md)[ExpediaGroupApiForbiddenErrorException](-expedia-group-api-forbidden-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [ForbiddenError](../../com.expediagroup.sdk.fraudpreventionv2.models/-forbidden-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class [ExpediaGroupApiForbiddenErrorException](index.md) extends Ex

| | |
|---|---|
| [ExpediaGroupApiForbiddenErrorException](-expedia-group-api-forbidden-error-exception.md) | [JVM]<br>public [ExpediaGroupApiForbiddenErrorException](index.md)[ExpediaGroupApiForbiddenErrorException](-expedia-group-api-forbidden-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [ForbiddenError](../../com.expediagroup.sdk.fraudpreventionv2.models/-forbidden-error/index.md)errorObject) |
| [ExpediaGroupApiForbiddenErrorException](-expedia-group-api-forbidden-error-exception.md) | [JVM]<br>public [ExpediaGroupApiForbiddenErrorException](index.md)[ExpediaGroupApiForbiddenErrorException](-expedia-group-api-forbidden-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [ForbiddenError](../../com.expediagroup.sdk.fraudpreventionv2.models/-forbidden-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId) |

## Properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[JVM]\

public [ExpediaGroupApiGatewayTimeoutErrorException](index.md)[ExpediaGroupApiGatewayTimeoutErrorException](-expedia-group-api-gateway-timeout-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [GatewayTimeoutError](../../com.expediagroup.sdk.fraudpreventionv2.models/-gateway-timeout-error/index.md)errorObject)
public [ExpediaGroupApiGatewayTimeoutErrorException](index.md)[ExpediaGroupApiGatewayTimeoutErrorException](-expedia-group-api-gateway-timeout-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [GatewayTimeoutError](../../com.expediagroup.sdk.fraudpreventionv2.models/-gateway-timeout-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class [ExpediaGroupApiGatewayTimeoutErrorException](index.md) exten

| | |
|---|---|
| [ExpediaGroupApiGatewayTimeoutErrorException](-expedia-group-api-gateway-timeout-error-exception.md) | [JVM]<br>public [ExpediaGroupApiGatewayTimeoutErrorException](index.md)[ExpediaGroupApiGatewayTimeoutErrorException](-expedia-group-api-gateway-timeout-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [GatewayTimeoutError](../../com.expediagroup.sdk.fraudpreventionv2.models/-gateway-timeout-error/index.md)errorObject) |
| [ExpediaGroupApiGatewayTimeoutErrorException](-expedia-group-api-gateway-timeout-error-exception.md) | [JVM]<br>public [ExpediaGroupApiGatewayTimeoutErrorException](index.md)[ExpediaGroupApiGatewayTimeoutErrorException](-expedia-group-api-gateway-timeout-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [GatewayTimeoutError](../../com.expediagroup.sdk.fraudpreventionv2.models/-gateway-timeout-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId) |

## Properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[JVM]\

public [ExpediaGroupApiInternalServerErrorException](index.md)[ExpediaGroupApiInternalServerErrorException](-expedia-group-api-internal-server-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [InternalServerError](../../com.expediagroup.sdk.fraudpreventionv2.models/-internal-server-error/index.md)errorObject)
public [ExpediaGroupApiInternalServerErrorException](index.md)[ExpediaGroupApiInternalServerErrorException](-expedia-group-api-internal-server-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [InternalServerError](../../com.expediagroup.sdk.fraudpreventionv2.models/-internal-server-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class [ExpediaGroupApiInternalServerErrorException](index.md) exten

| | |
|---|---|
| [ExpediaGroupApiInternalServerErrorException](-expedia-group-api-internal-server-error-exception.md) | [JVM]<br>public [ExpediaGroupApiInternalServerErrorException](index.md)[ExpediaGroupApiInternalServerErrorException](-expedia-group-api-internal-server-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [InternalServerError](../../com.expediagroup.sdk.fraudpreventionv2.models/-internal-server-error/index.md)errorObject) |
| [ExpediaGroupApiInternalServerErrorException](-expedia-group-api-internal-server-error-exception.md) | [JVM]<br>public [ExpediaGroupApiInternalServerErrorException](index.md)[ExpediaGroupApiInternalServerErrorException](-expedia-group-api-internal-server-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [InternalServerError](../../com.expediagroup.sdk.fraudpreventionv2.models/-internal-server-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId) |

## Properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[JVM]\

public [ExpediaGroupApiNotFoundErrorException](index.md)[ExpediaGroupApiNotFoundErrorException](-expedia-group-api-not-found-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [NotFoundError](../../com.expediagroup.sdk.fraudpreventionv2.models/-not-found-error/index.md)errorObject)
public [ExpediaGroupApiNotFoundErrorException](index.md)[ExpediaGroupApiNotFoundErrorException](-expedia-group-api-not-found-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [NotFoundError](../../com.expediagroup.sdk.fraudpreventionv2.models/-not-found-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class [ExpediaGroupApiNotFoundErrorException](index.md) extends Exp

| | |
|---|---|
| [ExpediaGroupApiNotFoundErrorException](-expedia-group-api-not-found-error-exception.md) | [JVM]<br>public [ExpediaGroupApiNotFoundErrorException](index.md)[ExpediaGroupApiNotFoundErrorException](-expedia-group-api-not-found-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [NotFoundError](../../com.expediagroup.sdk.fraudpreventionv2.models/-not-found-error/index.md)errorObject) |
| [ExpediaGroupApiNotFoundErrorException](-expedia-group-api-not-found-error-exception.md) | [JVM]<br>public [ExpediaGroupApiNotFoundErrorException](index.md)[ExpediaGroupApiNotFoundErrorException](-expedia-group-api-not-found-error-exception.md)([Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)code, [NotFoundError](../../com.expediagroup.sdk.fraudpreventionv2.models/-not-found-error/index.md)errorObject, [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)transactionId) |

## Properties

Expand Down
Loading

0 comments on commit d3c5029

Please sign in to comment.