replaced python.logging with twisted.logging