debug log and logging in 5.1 #387
|
Hello. Just saw my log and it is huge, wasn't like that before. Because of extended logging data. So an undefined index that was 1 line of log, now it is 250 !!!!! lines. While that may help in some cases, right now it makes the log file very hard to read and find issues. Is there a way to adjust the level of logging? |
Replies: 4 comments 9 replies
|
Ideally, you shouldn't have enabled OSC_DEBUG, errors are made more verbose. But 250 lines? that something else. What are these about? |
|
By default if disable osc_debug than, it'll only show FATAL or Warning error, you don't want to have PHP NOTICES, DEPRECATE in your error logs. I make a few more commit towards this. |
|
BTW I am not sure what logic changed? Edit: By ON/OFF means true/false |
See Now: https://github.com/mindstellar/Osclass/blob/develop/oc-includes/osclass/classes/logger/OsclassErrors.php