<p>This was a bug in Craft that's been fixed for the next (<a href="http://buildwithcraft.com/updates#build2696" rel="nofollow">post 2.4.2696</a>) release.</p>

<p>Once that release is out, <a href="http://buildwithcraft.com/docs/config-settings#devMode" rel="nofollow">devMode</a> output will be written to the <code>craft/storage/runtime/logs</code> files just like a normal web request would with devMode enabled.</p>

CC BY-SA 3.0
2015-10-14T22:56:02.063Z
2015-10-14T22:56:02.063Z
Brad Bell
<p>I've got <code>devMode</code> enabled and can see the log happening in <code>craft/storage/runtime/logs/craft.log</code> for browser requests... but was wondering if there is a way to enable this level of logging (detailing every sql etc.) for console commands in plugins?</p>

CC BY-SA 3.0
2015-10-14T23:59:54.767Z
Per Brad's answer, this is a bug which has been fixed for the next release. Closing as a bug report.
Lindsey D
<logging><console>
Enable craft.log for console commands
# Enable craft.log for console commands

(Asked by: username_0 on 2015-10-14)

I've got `devMode` enabled and can see the log happening in `craft/storage/runtime/logs/craft.log` for browser requests... but was wondering if there is a way to enable this level of logging (detailing every sql etc.) for console commands in plugins?

**Tags:** logging, console
> **Comments:**
> **username_1**: Per Brad's answer, this is a bug which has been fixed for the next release. Closing as a bug report.  

---

## 1 answers

### Answer by username_2 on 2015-10-14. Score: 1 | Accepted answer

This was a bug in Craft that's been fixed for the next ([post 2.4.2696](http://buildwithcraft.com/updates#build2696)) release.

Once that release is out, [devMode](http://buildwithcraft.com/docs/config-settings#devMode) output will be written to the `craft/storage/runtime/logs` files just like a normal web request would with devMode enabled.


---

