Comments (2)
Python 2.6 was released in 2008 and its official support ended in 2013. Can't you just update to 2.7?
There is a an issue with deriving from 'object'. Base class for all logging handlers is Filterer. In python 2.6 it looks like
class Filterer()
but in python 2.7+ it derives from 'object':
class Filterer(object)
I don't know if everything will be ok in 2.7+ if I add additional deriving from 'object':
Filterer(object) -> Handler(Filterer) -> SocketHandler(Handler) -> GelfTcpHandler(SocketHandler, object)
from pygelf.
CentOS-6/Redhat-6 is still "fully supported" by the vendors and a large chunk of the world is still running it. Yes I could manually install python-2.7, but then I might as well ditch using enterprise Linux OSes and move over to Arch or something else (as commercial vendors are always way behind current versions of all software). In my case it's all about installing pygelf on our Linux infrastructure (which I don't own or operate) in order to give those systems tools to push data into graylog - so I'm simply trying to make it work in our existing environment
I certainly understand your reluctance - I'll just include your (patched) package along with my script - so that it works for us on the older platform :-)
from pygelf.
Related Issues (20)
- Set full_message HOT 4
- cant connect with TLS HOT 2
- Option to use LevelName instead of LevelNumber HOT 3
- Add support for using with a QueueHandler/QueueListener HOT 1
- TLS support for HTTP handler HOT 11
- Add more flexibility for configuring additional fields HOT 1
- GelfTlsHandler: option to validate the server certificate using the OS ca certs? HOT 1
- The Usage section in README has a problem HOT 1
- GELF message is missing 'host' which is a required field for GELF HOT 2
- exc_info is false HOT 3
- No error if server port is closed HOT 1
- Make SKIP_LIST customizable HOT 2
- source Field Value -- Feature Request HOT 3
- GelfKafkaHandler HOT 2
- Support RFC 5424 timestamp HOT 2
- KeyError when logging.BasicConfig initialized with object instead of int HOT 6
- Pass api key to seq HOT 1
- Inclusion of additional_env_fields fails HOT 1
- DNS lookup happening on every log message (UDP) HOT 2
- Add error handling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygelf.