Capture log messages from commons-logging