# create_update_log_path

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/update_check/create_update_log_path)

Return a new timestamped update log path and clean stale logs.

## Signature

```python
create_update_log_path() -> Path
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/02ed19a42715fe0e9f2059fe8cf4fe6883054f08/libs/code/deepagents_code/update_check.py#L2026)