Add logger.
Enhance bin/receiver.rb