---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/logs](../index.md) / GetRecentLogsOptions

# Interface: GetRecentLogsOptions

Defined in: [packages/b2c-tooling-sdk/src/operations/logs/types.ts:128](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/logs/types.ts#L128)

Options for getting recent logs (one-shot retrieval).

## Properties

### maxEntries?

> `optional` **maxEntries**: `number`

Defined in: [packages/b2c-tooling-sdk/src/operations/logs/types.ts:138](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/logs/types.ts#L138)

Maximum number of entries to retrieve.

#### Default

```ts
100
```

***

### pathNormalizer()?

> `optional` **pathNormalizer**: (`message`) => `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/logs/types.ts:147](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/logs/types.ts#L147)

Path normalizer function to convert remote paths to local paths.

#### Parameters

##### message

`string`

#### Returns

`string`

***

### prefixes?

> `optional` **prefixes**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/operations/logs/types.ts:133](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/logs/types.ts#L133)

Filter by log prefixes (e.g., ["error", "customerror"]).

#### Default

```ts
["error", "customerror"]
```

***

### tailBytes?

> `optional` **tailBytes**: `number`

Defined in: [packages/b2c-tooling-sdk/src/operations/logs/types.ts:143](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/logs/types.ts#L143)

Maximum bytes to read from the end of each file.

#### Default

```ts
65536 (64KB)
```
