Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active March 14, 2018 05:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/cbf6fe8c8c2395e86c215a4460b36a29 to your computer and use it in GitHub Desktop.
Save parzibyte/cbf6fe8c8c2395e86c215a4460b36a29 to your computer and use it in GitHub Desktop.
<?php
/*
|--------------------------------------------------------------------------
| Error Logging Threshold
|--------------------------------------------------------------------------
|
| You can enable error logging by setting a threshold over zero. The
| threshold determines what gets logged. Threshold options are:
|
| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
| 4 = All Messages
|
| You can also pass an array with threshold levels to show individual error types
|
| array(2) = Debug Messages, without Error Messages
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
| your log files will fill up very fast.
|
*/
$config['log_threshold'] = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment