<p>Lifting from <a href="https://craftcms.stackexchange.com/a/489/1098">this answer</a> to a similar question: </p>

<p>You'll have to write a simple, custom plugin, and add the following to the <code>init()</code> method in your plugin's primary class:</p>

<pre><code>craft()-&gt;log-&gt;removeRoute('WebLogRoute');
craft()-&gt;log-&gt;removeRoute('ProfileLogRoute');
</code></pre>

<p>For instant success, you can scaffold your plugin by visiting <a href="https://pluginfactory.io/" rel="nofollow noreferrer">the plugin factory</a> – name it whatever you want and don't enable any components.</p>

CC BY-SA 3.0
2016-08-12T17:04:39.140Z
2016-08-12T17:04:39.140Z
2017-04-13T12:51:00.303Z
Mats Mikkel Rummelhoff
<p>I have been searching through the admin panel on our staging site trying to find where to turn off the application log.</p>

<p>I know that you can turn off dev mode, and that will turn off the log, but I still want dev mode on, I just want to turn off the log itself.</p>

<p>I did look at the documentation <a href="https://craftcms.com/docs/config-settings" rel="nofollow">here</a> and was not able to find it.</p>

<p>Any suggestions.</p>

CC BY-SA 3.0
2016-08-12T17:00:08.040Z
You want to disable all logging to `craft/storage/runtime/logs`?
Brad Bell
CC BY-SA 3.0
2016-08-12T17:02:09.130Z
I want to disable that log that shows at the end of the page, it shows as application log in the console,
Rockwell Rice
CC BY-SA 3.0
2016-08-12T17:02:32.677Z
@BradBell Probably the application and profiling logs which are output in the front end. [This is the only way](http://craftcms.stackexchange.com/a/489/1098), right?
Mats Mikkel Rummelhoff
<devmode>
How to turn off application log in dev mode
# How to turn off application log in dev mode

(Asked by: username_0 on 2016-08-12)

I have been searching through the admin panel on our staging site trying to find where to turn off the application log.

I know that you can turn off dev mode, and that will turn off the log, but I still want dev mode on, I just want to turn off the log itself.

I did look at the documentation [here](https://craftcms.com/docs/config-settings) and was not able to find it.

Any suggestions.

**Tags:** devmode

> **Comments:**
> **username_1**: You want to disable all logging to `craft/storage/runtime/logs`?  
> **username_0**: I want to disable that log that shows at the end of the page, it shows as application log in the console,  
> **username_2**: @BradBell Probably the application and profiling logs which are output in the front end. [This is the only way](http://craftcms.stackexchange.com/a/489/1098), right?  

---

## 1 answers

### Answer by username_2 on 2016-08-12. Score: 2 | Accepted answer

Lifting from this answer to a similar question: 
You'll have to write a simple, custom plugin, and add the following to the init() method in your plugin's primary class:
craft()->log->removeRoute('WebLogRoute');
craft()->log->removeRoute('ProfileLogRoute');

For instant success, you can scaffold your plugin by visiting the plugin factory – name it whatever you want and don't enable any components.


---

