# How to see only todays logs in docker nodered

**URL:** <https://discourse.nodered.org/t/how-to-see-only-todays-logs-in-docker-nodered/60818>\
**Category:** General\
**Tags:** docker\
**Created:** [5 April 2022 08:04 UTC](https://discourse.nodered.org/t/how-to-see-only-todays-logs-in-docker-nodered/60818 "2022-04-05T08:04:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BartuKulak](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartukulak/32/59401_2.png) [@BartuKulak](https://discourse.nodered.org/u/BartuKulak)\
**Post date:** [5 April 2022 08:04 UTC](https://discourse.nodered.org/t/how-to-see-only-todays-logs-in-docker-nodered/60818/1 "2022-04-05T08:04:37Z")

</div>

How can ı see the only todays log file in docker nodered

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 April 2022 10:27 UTC](https://discourse.nodered.org/t/how-to-see-only-todays-logs-in-docker-nodered/60818/2 "2022-04-05T10:27:01Z")

</div>

I don't use it but does it use systemd? If so, you can use journalctrl - it has lots of ability to auto-filter.

---

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [8 April 2022 17:13 UTC](https://discourse.nodered.org/t/how-to-see-only-todays-logs-in-docker-nodered/60818/3 "2022-04-08T17:13:43Z")

</div>

I don't get why you post this question on a node-red forum... but it's okay:

```auto
docker logs -f --until=24h <container_name>

```

plenty of examples here:

> **[docker logs](https://docs.docker.com/engine/reference/commandline/logs/)**
>
> docker logs: The \`docker logs\` command batch-retrieves logs present at the time of execution. \> \*\*Note\*\* \> \> This command is only functional for containers that are started with the...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 April 2022 17:14 UTC](https://discourse.nodered.org/t/how-to-see-only-todays-logs-in-docker-nodered/60818/4 "2022-04-22T17:14:36Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
