python-systemd icon indicating copy to clipboard operation
python-systemd copied to clipboard

Python wrappers for systemd functionality

Results 33 python-systemd issues
Sort by recently updated
recently updated
newest added

I had this lying around on some private branch, seeing the movement here, I remembered that I might push it. Python 2 has been EOL for 2 years now and...

Can you make the name change for the pypy version a little more obvious. I spent ages before I found that tiny line buried in the readme. It should be...

Currently any invocation of setup.py, except for `--version`, triggers a runtime library check. I think it precludes using the `egg_info` target on other platforms. E.g. pipenv will run this target...

Versions: - Debian 9 (Stretch) - python3 3.5.3-1 - python3-system 233-1 - systemd 232-25+deb9u ... but as far as I can tell from _reader.c it applies to master (a402d08da41413507a4ebebf18de897f7ddf1dd2) as...

Hello there, Recently systemd guys added the [namespace](https://wiki.archlinux.org/index.php/Systemd/Journal#Per_unit_size_limit) feature, I want to log to a specific journal namespace inside my Python code, How can I achieve this behaviour? Can I...

Can we get a new release of this python module? it contains code that would be pretty useful (in particular, #60 would be handy for me), but it's easier to...

Reading from journald without permission to do so should throw an exception but doesn't? ``` build:~$ cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)"...

I noticed an incontinence with JournalHandler when using it in an existing code base. I already use the Python logging module and all my logging already includes structured data like...

https://github.com/systemd/python-systemd/blob/master/systemd/journal.py#L581-L586 record.exc_text is a cache for text representation of record.exc_info https://github.com/python/cpython/blob/master/Lib/logging/__init__.py#L335 record.exc_info is a tuple https://github.com/python/cpython/blob/master/Lib/logging/__init__.py#L1579 So send str(record.exc_info) is unnecessary. There is a default implementation in formatter https://github.com/python/cpython/blob/master/Lib/logging/__init__.py#L681-L689 Also...