---
title: "nw_privacy_context_disable_logging(_:)"
framework: network
role: symbol
role_heading: Function
path: "network/nw_privacy_context_disable_logging(_:)"
---

# nw_privacy_context_disable_logging(_:)

Disables system logging of connection activity.

## Declaration

```swift
func nw_privacy_context_disable_logging(_ privacy_context: nw_privacy_context_t)
```

## See Also

### Configuring Custom Privacy Settings

- [nw_privacy_context_create(_:)](network/nw_privacy_context_create(_:).md)
- [nw_privacy_context_flush_cache(_:)](network/nw_privacy_context_flush_cache(_:).md)
