GithubHelp home page GithubHelp logo

Comments (2)

keeprocking avatar keeprocking commented on August 22, 2024

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.

jhaar avatar jhaar commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.