Removed print style logging.
Added log4j and ring-middleware logger.