> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Filtering the logs

> How to filter NetServer logs.

The [NetServer config file][1] supports filtering logging to specific namespaces or classes.

```xml theme={null}
<Diagnostics>
  <add key="LogWarning" value="true">
  <add key="LogWarningFrom" value="SuperOffice.Data">
</Diagnostics>
```

The above section tells the logger to only log warnings from the **SuperOffice.Data** namespace.

The **Log...From** supports both class names and namespaces.

## To log from a specific class

```xml theme={null}
<Diagnostics>
  <add key="LogWarning" value="true">
  <add key="LogWarningFrom" value="SoCommand">
</Diagnostics>
```

## You can filter on multiple names

```xml theme={null}
<Diagnostics>
  <add key="LogWarning" value="true">
  <add key="LogWarningFrom" value="SoCommand,SoDataReader,SuperOffice.CRM.Webhooks">
</Diagnostics>
```

[1]: ../config/diagnostics
