|
Document logging features in Magnolia CMS.
- This topic is hard to find. Even seasoned Magnolia users don't necessary know about it
MAGNOLIA-3738.
- Motivation: Describe situations where logging is needed. Talk to a developer to get more ideas.
- get details on errors
- collect data on system usage
- audit user access
- debug forms and mail etc.
- Magnolia logging is based on Apache log4j, a standard Java-based logging utility
- Tools > Logging menu lets you select the classes to log and logging level
- Unique Magnolia advantage: start logging a class or change level threshold without restarting the server
- Tools > Log Viewer menu lets you view the logged data
- Alternative: Reading logs on the file system. Tell where to find them.
- Rotating logs. Explain default rotation schedule.
- Use cases. Mail module article has an example of logging mail errors.
|