Skip to main content

logging-dlt

coverage pipeline

Documentation

DLT Autosar Specification

A python logging adapter for "diagnostic log and trace" protocol.

Description

The goal of this project is to provide a way to route the proprietary dlt protocol into the python logging framework. This is done by using a logging adapter together with a dlt stream parser.

DLT protocol

DLT (Diagnostic Log and Trace) is a proprietary logging protocol. It is used in debugging automotive ECUs that run Autosar OS.

You should NOT use it if you have the choice!

It has many traps, inconsistencies and architecture dependencies. In the field it does overflow its own stream buffer, corrupting data on the wire. It causes endianess problems, e.g. use big endian even if it announced little endian a few bytes before ( Proof 1, 2 ) etc.

It is clear that it did not compete against any other logging mechanism or had any trial phase. It was just forged into a standard that is enforced for the Autosar OS.

License

This software is distributed under GPLv3 with some extension because GPLv3 did not manage to deny criminal misuse by organizations. This software is intended for usage by community and private individuals who are interested in car hacking. It is explicitly denied that any company or organization monetizes on this software. Monetize does not only mean money, it means gaining a competitive advantage of any kind by using this software. The author explicitly denies the usage for people associated with military, government agencies of any kind to whatever degree, same for car manufacturers and associates.

Deprecation of PyPi Packages

Packages on PyPi are no longer updated due to attempts of the Python Software Foundation to enforce new rules and basically flush out developers who do not consent.
Recent packages can be installed directly from git, i.e.
pip install git+https://gitlab.com/menschel/logging-dlt.git --upgrade

Release files for logging-dlt 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for logging-dlt 2.0.0
File Size Uploaded
logging-dlt-2.0.0.tar.gz 26.4 kB Details

Release files / logging-dlt-2.0.0.tar.gz

Download URL logging-dlt-2.0.0.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b1ffa434cd8c476a75965a74bdc47fce1e514002e3bb30b4685b05d34e3f4eff
BLAKE2b-256 checksum
How to use checksums
d1bce11e32a6b172754552e28701bbae94c51641af24831d1c0014cfb4ea08b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release history Release notifications | RSS feed

This release

2.0.0 This release

1 release file

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page