using codeigniter in my controller I have the below but its not appearing in my logs. I have set in config.php logging to 4. Is there something else I am missing? $data in the same function is currently set as $data = 12345.
The function does work as it performs action I tell it but I wanted to see it in the logs for debugging.
log_message('debug',print_r($data,TRUE));
Thanks