# 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/a98f0dfa8d534d8a1885b524632400e52db22ac6/libs/code/deepagents_code/update_check.py#L877)