Certain Loggers and Writers are included in a standard AEM installation.
The first is a special case as it controls both the request.log and access.log files:
- The Logger:
- Apache Sling Customizable Request Data Logger
(org.apache.sling.engine.impl.log.RequestLoggerService) - Write messages about request content to request.log.
- Apache Sling Customizable Request Data Logger
- Links to:
- Apache Sling Request Logger
(org.apache.sling.engine.impl.log.RequestLogger) - Writes the messages to either request.log or access.log.
- Apache Sling Request Logger
These can be customized if required, though the standard configuration is suitable for most installations.
The other pairs follow the standard configuration:
- The Logger:
- Apache Sling Logging Logger Configuration
(org.apache.sling.commons.log.LogManager.factory.config) - Writes Information messages to logs/error.log.
- Apache Sling Logging Logger Configuration
- Links to the Writer:
- Apache Sling Logging Writer Configuration
(org.apache.sling.commons.log.LogManager.factory.writer)
- Apache Sling Logging Writer Configuration
- The Logger:
- Apache Sling Logging Logger Configuration
(org.apache.sling.commons.log.LogManager.factory.config.649d51b7-6425-45c9-81e6-2697a03d6be7) - Writes Warning messages to ../logs/error.log for the service org.apache.pdfbox.
- Apache Sling Logging Logger Configuration
- Does not link to a specific Writer so will create and use an implicit Writer with default configuration (daily log rotation).