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

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

# Function: unreadCustomPrefixes()

> **unreadCustomPrefixes**(`files`, `filters`): `string`[]

Defined in: [packages/b2c-tooling-sdk/src/operations/logs/list.ts:144](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/logs/list.ts#L144)

Returns the `custom-<name>` log categories in `files` that the given filters
do not select, sorted by name.

Custom logger files (`Logger.getLogger('<name>', ...)`) are not part of the
default `error`/`customerror` read, so callers use this to point users at
them when a read finds nothing. Path filters (containing `/`) are ignored.

## Parameters

### files

[`LogFile`](../interfaces/LogFile.md)[]

Top-level log files, e.g. from [listLogFiles](listLogFiles.md) without filters

### filters

`string`[]

The filters that were used for the read

## Returns

`string`[]

Custom logger categories that were not read
