Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-14T22:56:02.063Z
Answers.LastActivityDate: 2015-10-14T22:56:02.063Z
Answers.UserDisplayName: Brad Bell
Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-14T23:59:54.767Z
Comments.Text: Per Brad's answer, this is a bug which has been fixed for the next release. Closing as a bug report.
Comments.UserDisplayName: Lindsey D
Tags: <logging><console>
Title: Enable craft.log for console commands
ThreadText: # 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 username_2'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.
  
  
  ---
  
  