Table of Contents |
---|
Introduction
Logging in eZ Platform consists of two parts, several debug systems that integrates with symfony developer toolbar to give you detailed information about what is going on. And standard PSR-3 logger, as provided by Symfony using Monolog.
Debugging in dev environment
When using the Symfony dev environment, the system out of the box tracks additional metrics for you to be able to debug issues, this includes Stash cache use (done by StashBundle), and a persistence cache use.
Reducing memory use
Tip |
---|
For long running scripts, instead head over to How to run long-running console commands for some much more relevant info. |
...
Code Block | ||
---|---|---|
| ||
stash: tracking: false # Default is true in dev tracking_values: false # Default is false in dev, to only track cache keys not values caches: default: inMemory: false # Default is true registerDoctrineAdapter: false parameters: ezpublish.spi.persistence.cache.persistenceLogger.enableCallLogging: false |
Error logging and rotation
eZ Platform uses the Monolog component to log errors, and it has a RotatingFileHandler
that allows for file rotation.
...