Python Logging Exception Example