I am using codeigniter logger using following configuration :
$config['log_threshold'] = 4;
These are 5 threshold used in application/config/config.php
0 = Disables logging, Error logging TURNED OFF
1 = Error Messages (including PHP errors)
2 = Debug Messages
3 = Informational Messages
4 = All Messages
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.
I am using codeigniter version 2.2.0
Here is my log file :
DEBUG - 2015-09-14 17:17:22 --> Config Class Initialized
DEBUG - 2015-09-14 17:17:22 --> Hooks Class Initialized
DEBUG - 2015-09-14 17:17:22 --> Utf8 Class Initialized
DEBUG - 2015-09-14 17:17:22 --> UTF-8 Support Enabled
DEBUG - 2015-09-14 17:17:22 --> URI Class Initialized
DEBUG - 2015-09-14 17:17:22 --> Router Class Initialized
DEBUG - 2015-09-14 17:17:22 --> Output Class Initialized
DEBUG - 2015-09-14 17:17:22 --> Security Class Initialized
DEBUG - 2015-09-14 17:17:22 --> Input Class Initialized
DEBUG - 2015-09-14 17:17:22 --> Global POST and COOKIE data sanitized