> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/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


## Related topics

- [User group filtering](/en/admin/lists/user-group-filtering.md)
- [SuperOffice.Logging](/en/onsite/logging/standard-netserver-log.md)
- [Logs](/en/automation/crmscript/howto/request/request-logs.md)
- [Log in](/en/learn/getting-started/login.md)
- [Set up the Database Mirroring client](/en/online/mirroring/setup-guide.md)
- [Migrate SuperOffice to the cloud](/en/online/migrate/index.md)
