Modified to provide logging example, using slf4j.