0ecde6ce | 13-Aug-2020 |
Andreas Gohr <andi@splitbrain.org> |
central logging mechanism
This introduces a logger mechanism and a new data/log directory. This is a first proof of concept. It's built on top of the new global error handling mechanism
Things to d
central logging mechanism
This introduces a logger mechanism and a new data/log directory. This is a first proof of concept. It's built on top of the new global error handling mechanism
Things to discuss:
* should we adopt PSR-3 somehow? if yes, how and should plugins be able to drop-in other psr3 loggers? * how to configure which facilities shall be logged? * should we implement a log deletion feature? * is the log format sensible? * should we implement a log viewer admin plugin? * should logging trigger events (it should maybe replace the deprecation event)
show more ...
|
ffa84f81 | 13-Jul-2020 |
Andreas Gohr <andi@splitbrain.org> |
better exception handling on plugin loading
Now all important places where plugins are loaded are guarded by a try/except. We're catching Throwables here to be able to catch stuff like syntax errors
better exception handling on plugin loading
Now all important places where plugins are loaded are guarded by a try/except. We're catching Throwables here to be able to catch stuff like syntax errors early on (otherwise they will only be caught by our ErrorConverter much too late). This means that this change requires PHP 7.0 minimum!
show more ...
|