[eluser]pyrokinesis[/eluser]
Thanks for the replies guys,
It's not the actual logging of errors to a file that I am trying to change, it's the display of them.
I think the setting is in the main 'index.php' file in the root, and thats what I'm trying to change dynamically, albeit difficultly.
I thought there might be a scenario to change the error reporting level for a specific controller, or more appropriately a specific method in that controller.
If I change it to show_all site wide, users might get scared
or haXors might get some usefull info.
Ideal solution would be to turn off error_reporting and enable full error_reporting for the methods of a controller that still have to be debugged and put live.
Thanks for the help :-)