severb/graypy — pull request #5 by garethr (2012-01-14 15:41:27+00:00)
Title: Disable additional python fields

This pull allows for disabling the additional python fields (like function, line number, etc.) when you create the hander, while maintaining the existing default behaviour.

My use case for this is that I'm writing a command line tool which, when run, gathers some information and pushes it to graylog. That means the position in the file, the function, the filename, etc. will always be the same and more importantly nothing to do with the information being logged.

I think this is worth including for other cases where python is being used as more a system scripting language rather than for application development.

Any comments or changes let me know. And thanks for graypy, exactly what I was looking for this morning.