<p>Not currently, but I agree it's kind of annoying.</p>

<p>I thought maybe you could pull it off with a plugin since Yii does have an <a href="http://www.yiiframework.com/doc/api/1.1/CApplication#onException-detail" rel="nofollow">onException</a> event, but there wouldn't be a way to disable logging of 404's without some code changes on our end.</p>

<p>I've added it to our 3.0 list to add a config setting to disable logging of 404's though.</p>

CC BY-SA 3.0
2015-03-18T20:11:21.037Z
Cool! Yeah that would be great. I guess I'll just compile a list of the more popular 404's an manually resolve for now! Craft 3.0 is going to be a good 'un, I feel!
Seán O'Grady
CC BY-SA 3.0
2016-01-12T10:37:33.377Z
I look forward to this! Currently it's very hard to debug stuck "cache cleaning" tasks since the logs are full of 404s...
gromgull
CC BY-SA 3.0
2015-03-18T17:54:15.537Z
2015-03-18T17:54:15.537Z
Brad Bell
<p>I want to get a better understanding of some issues in production surrounding timeouts but as its a high traffic site the craft logs get replaced about every 15 minutes due to the amount of 404's that are requested.</p>

<p>Most are stuff like missing apple-touch-icons or old images from our last version of the site that are now gone. Is there any way to tell craft either to not log those 404s so that craft.log becomes a little more useful?</p>

<error><404><logging><timeout>
Can I disable logging 404 errors in my craft.log file?
# Can I disable logging 404 errors in my craft.log file?

(Asked by: username_0 on 2015-03-18)

I want to get a better understanding of some issues in production surrounding timeouts but as its a high traffic site the craft logs get replaced about every 15 minutes due to the amount of 404's that are requested.

Most are stuff like missing apple-touch-icons or old images from our last version of the site that are now gone. Is there any way to tell craft either to not log those 404s so that craft.log becomes a little more useful?

**Tags:** error, 404, logging, timeout

---

## 1 answers

### Answer by username_1 on 2015-03-18. Score: 4 | Accepted answer

Not currently, but I agree it's kind of annoying.

I thought maybe you could pull it off with a plugin since Yii does have an [onException](http://www.yiiframework.com/doc/api/1.1/CApplication#onException-detail) event, but there wouldn't be a way to disable logging of 404's without some code changes on our end.

I've added it to our 3.0 list to add a config setting to disable logging of 404's though.

> **Comments:**
> **username_0**: Cool! Yeah that would be great. I guess I'll just compile a list of the more popular 404's an manually resolve for now! Craft 3.0 is going to be a good 'un, I feel!  
> **username_2**: I look forward to this! Currently it's very hard to debug stuck "cache cleaning" tasks since the logs are full of 404s...  

---

