Python Logging Exception Example In Python