# Massive log files, how do I limit or turn off?

**URL:** <https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930>\
**Category:** Elements\
**Created:** [October 21, 2025, 5:47pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930 "2025-10-21T17:47:54Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jupeman](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jupeman](https://forums.realmacsoftware.com/u/Jupeman)\
**Post date:** [October 21, 2025, 5:47pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/1 "2025-10-21T17:47:54Z")

</div>

Hi, I am running Elements 1.4 and my site is generating massive (3-4GB/ea) log files per day (app.log spawning cms-yyyy-mm-ddd.log every day). Is there an easy toggle to turn this off as it is consuming my small server.

If this is expected normal behavior, I can script to kill the files every day to save my server, but it seemed excessive so I thought I’d flag it.

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [October 21, 2025, 7:52pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/2 "2025-10-21T19:52:15Z")

</div>

@elementsbot can you help

---

<div class="post-metadata">

**Author:** ![elementsbot](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/elementsbot/32/33134_2.png) [@elementsbot](https://forums.realmacsoftware.com/u/elementsbot)\
**Post date:** [October 21, 2025, 7:52pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/3 "2025-10-21T19:52:23Z")

</div>

Hey Jupeman and PMUK!

Whoa, those log files sound like they’re going on a mega shopping spree with your storage! 🤔 While excessive logging like that isn’t typical behavior, there isn’t a magical toggle switch in Elements to turn it off directly.

What you can do is check the Elements settings or the server configurations to see if there’s any unusual logging level set. If that doesn’t help, scripting to manage those logs might be the way to go for now. Also, maybe give a shout-out to our friendly Realmac team, especially if it’s an oddity that needs a developer’s eye.

And hey, if you need any more sleuthing, just holler! 🕵️‍♂️

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [October 22, 2025, 7:16am UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/4 "2025-10-22T07:16:38Z")

</div>

> [@Jupeman](#):
>
> my site is generating massive (3-4GB/ea) log files per day

3-4 gigabytes per day! If that is the case, then we definitely have a bug in the system.

Does your site receive a lot of traffic? I’m trying to understand how it could be generating log files of 3+ GB a day 🥴

> [@Jupeman](#):
>
> Is there an easy toggle to turn this off as it is consuming my small server.

Not currently, but we do already have plans to add that. I will see if we can bump up this feature and get it added sooner rather than later.

---

<div class="post-metadata">

**Author:** ![Jupeman](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jupeman](https://forums.realmacsoftware.com/u/Jupeman)\
**Post date:** [October 23, 2025, 10:33pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/5 "2025-10-23T22:33:36Z")

</div>

Hi Ben, sadly not anywhere near as much traffic as I’d like (60-100 visitors/day +/-)! Worse, this is generating for sites _not visited_. My dev site is growing large log files and no one is visiting that. These logs sit in the com.realmac.corepack/api/logs

Here’s an example of what is repeated to fill up these logs:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/4/4/44d1b21a74ba3cec6ce4120128487173a2c15e6f.jpeg)

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [October 24, 2025, 7:26am UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/6 "2025-10-24T07:26:18Z")

</div>

can I just double check that the log files are 3-4 **gigabytes**?

Did you mean 3-4 megabytes? I don’t think the server would handle the CMS reading/writing to a 3 gigabyte log file, so I’m wondering if they really are multiple gigabytes?

Either way, I’m looking in to adding an option to turn on/off logging, and improving cleaning up old log files automatically 🙂

---

<div class="post-metadata">

**Author:** ![Jupeman](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jupeman](https://forums.realmacsoftware.com/u/Jupeman)\
**Post date:** [October 24, 2025, 2:11pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/7 "2025-10-24T14:11:37Z")

</div>

Yes, gigabytes. I’ll watch it throughout the day as I suspect it may be a function of website hits? It is about 10AM in US East coast time, business is based in the US. There haven’t been many active users yet today on the website (22). But watching Google Analytics and taking a snapshot of one user hitting the website, I noticed in a six minute span that the cms log file grew by 1.43MB. If one was to extrapolate that growth, that’s 2GB/day. The site is predominantly CMS-derived, so if the cms log is adding entries every time a user is loading cms content, even at our meager visitor rate (127 visitors yesterday), the log fills fast (maybe this is also a function of how much they click around and are loading, I don’t know how the log works). My server is small so I scripted the file to delete prior days’s scripts. I have the script to keep only the most recent 200MB and will run that hourly, but I’m holding off enabling that aspect so I can capture some metrics for you.

But time out on the above, because what I’m describing above is for [https://gencryo.com](https://gencryo.com).

My development site was [https://alpha.gencryo.com](https://alpha.gencryo.com), with files nearly identical to production and still sitting on the server. This site shouldn’t be receiving any human traffic. Yet its cms log is 306MB already today (app.log is 140MB). So with no human traffic (it isn’t pw protected and I haven’t done anything explicit to turn off crawlers), that cms log is on pace for 1GB today.

I’m going to better secure my dev site and see if that changes log growth rate on alpha.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [October 24, 2025, 3:34pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/8 "2025-10-24T15:34:31Z")

</div>

Okay, thanks for the clarification. I’d be really interested in seeing how you’re using the CMS in your project. Is there any chance you could send me your project via elements cloud? If you don’t want to paste the link publicly here, you can send it to Ben at realmacsoftware 😊

---

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [October 24, 2025, 4:01pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/9 "2025-10-24T16:01:09Z")

</div>

I took a quick look at your website and noticed that many of your images take quite a long time to load. This is likely because they aren’t optimally compressed — most of them are around 1.5 MB each. I found about ten of these just on the homepage.

I can imagine that a significant portion of your traffic might actually be bot traffic. If the images are being reloaded with every request, that could easily cause your server logs to grow quite large over time.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [October 24, 2025, 6:08pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/10 "2025-10-24T18:08:43Z")

</div>

> [@Pegasus](#):
>
> If the images are being reloaded with every request, that could easily cause your server logs to grow quite large over time.

Just to clarify — the size of the images won’t have any impact on the size of the CMS log files.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 24, 2025, 6:13pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/11 "2025-10-24T18:13:22Z")

</div>

Okay, so a [new build of Elements is out](https://forums.realmacsoftware.com/t/elements-1-4-1-23894/52004/2) with the Log Manager, go check it out!

---

<div class="post-metadata">

**Author:** ![Jupeman](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jupeman](https://forums.realmacsoftware.com/u/Jupeman)\
**Post date:** [October 24, 2025, 7:29pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/12 "2025-10-24T19:29:39Z")

</div>

email sent…

---

<div class="post-metadata">

**Author:** ![Jupeman](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jupeman](https://forums.realmacsoftware.com/u/Jupeman)\
**Post date:** [October 24, 2025, 7:30pm UTC](https://forums.realmacsoftware.com/t/massive-log-files-how-do-i-limit-or-turn-off/51930/13 "2025-10-24T19:30:56Z")

</div>

Thank you! So many things to improve all over, no doubt, and I appreciate the feedback. Optimizing file sizes is on the list (a built-in Elements converter would be kind of cool, though I hate websites with blurry images…).
