![]() |
idea for log threshold improvement - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: idea for log threshold improvement (/showthread.php?tid=58197) |
idea for log threshold improvement - El Forum - 05-23-2013 [eluser]taber[/eluser] I think some sort of new log threshold level that acts like it's between 1 and 2 would be nice... A log threshold value of "2" prints out a TON of CI debug data, which, don't get me wrong, is pretty useful... but it crowds my own custom log messages. To get around this I'm using Code: log_message('error', 'my debug message') So I was thinking maybe it would be a nice addition to lay out the logging thresholds like so: Code: | 0 = Disables logging, Error logging TURNED OFF Another option might be to move the "Router Class Initialized" and related CI DEBUG messages into the "Informational Messages" level, leaving the threshold of "2" solely for our own custom debug messages. Anyway just throwin that out there! idea for log threshold improvement - El Forum - 05-23-2013 [eluser]bhogsett[/eluser] i like this suggestion. I also am using Error for log messages that are not really errors. |