I want log the incoming HTTP request from clients and the response what my server gave them back.
Currently i have set the threshold to DEBUG. But this shows me all the class and models initialized.
But i just want some custom error to be logged an not all the CI logs.
So can i define a custom threshold to log my application's request response?
The config File:
$config['log_threshold'] = 2;
The Way i log my info:
log_message('debug', print_r($data, TRUE));