# Finding or enabling logs older that 1 day

**URL:** <https://forums.plex.tv/t/finding-or-enabling-logs-older-that-1-day/760489>\
**Category:** Plex Media Server\
**Tags:** server-docker\
**Created:** [November 27, 2021, 9:04am UTC](https://forums.plex.tv/t/finding-or-enabling-logs-older-that-1-day/760489 "2021-11-27T09:04:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![this\_is\_vince](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@this\_is\_vince](https://forums.plex.tv/u/this_is_vince)\
**Post date:** [November 27, 2021, 9:04am UTC](https://forums.plex.tv/t/finding-or-enabling-logs-older-that-1-day/760489/1 "2021-11-27T09:04:24Z")

</div>

Server Version#:  
Player Version#:  
  
Dear all,

Can someone tell me where i can turn-on an option that would allow me to gather logs older than just the current day ?

Thanks !

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [November 27, 2021, 10:30am UTC](https://forums.plex.tv/t/finding-or-enabling-logs-older-that-1-day/760489/2 "2021-11-27T10:30:56Z")

</div>

Disable “verbose” logging.  
Keep only “debug” logging active.  
Then restart the server.

If that still isn’t enough because you are scanning all libraries daily or have dozens of users playing from your server every day, you can increase the number of log files to be kept in “rotation”.  
Add the hidden preference `LogNumFiles` to your server configuration. [Advanced, Hidden Server Settings | Plex Support](https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/)  
Don’t use numbers above ~30.

---

<div class="post-metadata">

**Author:** ![this\_is\_vince](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@this\_is\_vince](https://forums.plex.tv/u/this_is_vince)\
**Post date:** [November 28, 2021, 5:55pm UTC](https://forums.plex.tv/t/finding-or-enabling-logs-older-that-1-day/760489/3 "2021-11-28T17:55:12Z")

</div>

Thank you Otto !

I’ve just added the pref you mentionned inside the xml files. I’ll wait a couple of days and let you know.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [February 26, 2022, 5:55pm UTC](https://forums.plex.tv/t/finding-or-enabling-logs-older-that-1-day/760489/4 "2022-02-26T17:55:53Z")

</div>

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