<s> import logging <EOL> from google . appengine . ext . webapp . mail_handlers import BounceNotificationHandler <EOL> import webapp2 <EOL> class LogBounceHandler ( BounceNotificationHandler ) : <EOL> def receive ( self , bounce_message ) : <EOL> logging . info ( '<STR_LIT>' , self . request ) <EOL> logging . info ( '<STR_LIT>' , bounce_message . original ) <EOL> logging . info ( '<STR_LIT>' , bounce_message . notification ) <EOL> app = webapp2 . WSGIApplication ( [ LogBounceHandler . mapping ( ) ] , debug = True ) </s>
