title: How to disable codeigniter debug mode
body: <p>I am using codeigniter logger using following configuration : </p>
  
  <p>$config['log_threshold'] = 4;</p>
  
  <p>These are 5 threshold used in application/config/config.php</p>
  
  <pre><code> 0 = Disables logging, Error logging TURNED OFF
     1 = Error Messages (including PHP errors)
     2 = Debug Messages
     3 = Informational Messages
     4 = All Messages
  </code></pre>
  
  <p>I only want to use threshold 1 and 3. 
  If i use 4 in threshold i am able to print log message with many debug message. These debug messages will fill my server space. So i want to disable this debug mode.</p>
  
  <p>I am using codeigniter version 2.2.0</p>
  
  <p>Here is my log file :</p>
  
  <pre><code>  DEBUG - 2015-09-14 17:17:22 --&gt; Config Class Initialized
    DEBUG - 2015-09-14 17:17:22 --&gt; Hooks Class Initialized
    DEBUG - 2015-09-14 17:17:22 --&gt; Utf8 Class Initialized
    DEBUG - 2015-09-14 17:17:22 --&gt; UTF-8 Support Enabled
    DEBUG - 2015-09-14 17:17:22 --&gt; URI Class Initialized
    DEBUG - 2015-09-14 17:17:22 --&gt; Router Class Initialized
    DEBUG - 2015-09-14 17:17:22 --&gt; Output Class Initialized
    DEBUG - 2015-09-14 17:17:22 --&gt; Security Class Initialized
    DEBUG - 2015-09-14 17:17:22 --&gt; Input Class Initialized
    DEBUG - 2015-09-14 17:17:22 --&gt; Global POST and COOKIE data sanitized
  </code></pre>