- SLF4J is a logging facade that allows switching between different logging implementations without code changes. Logback is one such implementation that can be used with SLF4J.
- Logback has advantages over Log4j like being more efficient and configurable via XML or code. It exposes its API through SLF4J.
- Logback's architecture consists of core, classic and access modules. Classic extends core and implements SLF4J. Access integrates with web servers.
- Logback uses appenders to write logs, encoders to format outputs, and layouts to define formats. Filters control which logs to output.