Logging & Debug configuration: comparison of v.7 vs v.8
Versions Compared
Old Version 7
changes.mady.by.user André Rømcke
Saved on Mar 17, 2016
compared with
New Version Current
changes.mady.by.user André Rømcke
Saved on Mar 21, 2016
Key
- This line was added.
- This line was removed.
- Formatting was changed.
| 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:
exponential.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.
...
Comments
Add a comment