add logger for warning messages
Add configuration example to readme