# Disable Packet Logs for C DataSource

You can turn off logging of a particular type of data by configuring the name of the log file as `/dev/null` for Linux machines (or `nul` on Windows).

**For example:**

Packet logs display all messages sent between [Liberator](../liberator/index.md) and its DataSource peers. To stop packet logs from being created for a Liberator running on a Linux machine, configure its packet log filename like this:

```
xref:datasource-datasource-peers-configuration-part-2.md#datasrc-pkt-log[datasrc-pkt-log] /dev/null
```

---

**See also:**

* [Logging in DataSource applications](datasource-logging-in-datasource-applications.md)
* How can I... [View packet logs using logcat](datasource-view-packet-logs-using-logcat.md)
