Last active
March 14, 2018 05:02
-
-
Save parzibyte/cbf6fe8c8c2395e86c215a4460b36a29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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