-
☆ A M B ☆
- 450 Posts
I was debugging a plugin, and was referring back to the event log - clearing and refreshing it after each change. Did this about 8 or 10 times, and then... my event log suddenly stopped logging. Nothing in the database table. Is there some setting I could have inadvertently triggered, or anything I should look for that would turn logging back on?
-
☆ A M B ☆
- 450 Posts
I still haven’t figured this out. I copied my plugin to another Revo installation (both are 2.0.4pl2) and I managed to trigger the same problem. Nothing whatsoever is being logged to the error log now. I was looking at my php error logs on the server, and there were some syntax errors in my plugin that were causing heap dumps and other errors. I’ve fixed those now, and the plugin isn’t generating any errors... but there still isn’t ANYTHING being written to the MODx error log.
Are there any settings anywhere, or any conditions that could be present that would stop the error log table from accepting entries?
-
MODX Staff
- 10,725 Posts
Some configurations can trap errors and send them to the Apache error log by default, but MODx can usually override this behavior. Worth a check again, just in case.
Otherwise, it may just be that the logic of the code is simply not generating an error, nor doing what you expect.