Schlagwort-Archive: fragments

Adding Custom Log-Appender to Pax-Logging

Pax Logging does use log4j as the underlying service layer to actually produce the „log files“. This little tutorial shows you how to add your own Log-Appender to the underlying log4j infrastructure and actually use it.

As a new Appender we do a specialized appender of the Roling-File-Appender that actually also zips the file after it’s been rolled over. This Appender was inspired by this blog