GithubHelp home page GithubHelp logo

isabella232 / systemd-coredump-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from systemd/systemd-coredump-python

0.0 0.0 0.0 19 KB

Log Python exceptions in the journal via systemd-coredump

License: GNU General Public License v2.0

Python 90.06% Emacs Lisp 4.15% Vim Script 5.79%

systemd-coredump-python's Introduction

sys.excepthook helper for Python to send backtraces to the journal

GIT: [email protected]:systemd/systemd-coredump-python.git https://github.com/systemd/systemd-coredump-python.git

BUG REPORTS: https://github.com/systemd/systemd-coredump-python/issues

LICENSE: GPLv2.1+ for all code

REQUIREMENTS: Python 2.x or 3.x. Tested with CPython, PyPy, PyPy3.

(Does not work with Jython: 2.5 is too old, and 2.7 is broken,
see http://bugs.jython.org/issue2405.)

systemd v. 233 or later is required.

USAGE:

For this module provides a function which may be installed as the
`sys.excepthook` exception handler. It will generate a backtrace
and invoke systemd-coredump(8) to send it to off to the journal
along with some additional metadata about the python process.

When installed, a .pth file is also installed which loads this
module and checks if it should handle `sys.excepthook`. It will be
automatically enabled if /proc/sys/kernel/core_pattern specifies
systemd-coredump.

It is also possible to unconditionally install this module as
`sys.excepthook` by calling
`systemd_coredump_exception_handler.install(True)`.

SEE ALSO: https://github.com/abrt/abrt/blob/master/src/hooks/abrt_exception_handler.py.in

systemd-coredump-python's People

Contributors

keszybz avatar mkutlak avatar

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.