-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better debug log output... #17
Comments
@jedie thanks for opening an issue! Given Python's structure of separating logging handlers from loggers and the specific constants in the handler you wrote (e.g. What do you think about documenting how to build similar custom handlers in the readme? e.g. adding a section similar to:
|
The first question would be if there is any interest at all in including this in the project. Then we could see if we could improve it ;) One question would be, is there a way to get the raw bytes in the log handler? Because there is only the string representation of bytes and we must handle escapes...
This is from django settings. It's just about filtering username and password. Maybe we can just add a list of "sensible values" as log handler arguments? |
I have made a simple log handler for 'suds.transport' that will print the binary output a little bit better to the console.
The normal output:
With this hacked handler:
The source code is here: django-oscar/django-oscar-docdata#33
But it's a better place to include this into the suds project, isn't it?
Any interest here? Then I would try to make an pull request.
The text was updated successfully, but these errors were encountered: