A log4j derivative for R.