logging-dlt


Namelogging-dlt JSON
Version 2.0.0 PyPI version JSON
download
home_page
SummaryA python logging adapter for diagnostic log and trace protocol.
upload_time2023-12-31 21:05:28
maintainer
docs_urlNone
author
requires_python>=3.11
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # logging-dlt

![coverage](https://gitlab.com/Menschel/logging-dlt/badges/master/coverage.svg)
![pipeline](https://gitlab.com/Menschel/logging-dlt/badges/master/pipeline.svg)

[Documentation](https://menschel.gitlab.io/logging-dlt/)

[DLT Autosar Specification](https://www.autosar.org/fileadmin/user_upload/standards/classic/4-3/AUTOSAR_SWS_DiagnosticLogAndTrace.pdf)

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](https://github.com/COVESA/dlt-daemon/blob/master/src/shared/dlt_common.c#L1034),
[2](https://github.com/COVESA/dlt-daemon/blob/master/src/shared/dlt_common.c#L846)
) 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```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "logging-dlt",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Patrick Menschel <menschel.p@posteo.de>",
    "download_url": "https://files.pythonhosted.org/packages/d1/bc/e11e32a6b172754552e28701bbae94c51641af24831d1c0014cfb4ea08b9/logging-dlt-2.0.0.tar.gz",
    "platform": null,
    "description": "# logging-dlt\n\n![coverage](https://gitlab.com/Menschel/logging-dlt/badges/master/coverage.svg)\n![pipeline](https://gitlab.com/Menschel/logging-dlt/badges/master/pipeline.svg)\n\n[Documentation](https://menschel.gitlab.io/logging-dlt/)\n\n[DLT Autosar Specification](https://www.autosar.org/fileadmin/user_upload/standards/classic/4-3/AUTOSAR_SWS_DiagnosticLogAndTrace.pdf)\n\nA python logging adapter for \"diagnostic log and trace\" protocol.\n\n# Description\n\nThe goal of this project is to provide a way to route the proprietary dlt\nprotocol into the python logging framework. This is done by using a logging adapter\ntogether with a dlt stream parser.\n\n\n# DLT protocol\nDLT (Diagnostic Log and Trace) is a proprietary logging protocol.\nIt is used in debugging automotive ECUs that run Autosar OS.\n\nYou should NOT use it if you have the choice!\n\nIt has many traps, inconsistencies and architecture dependencies.\nIn the field it does overflow its own stream buffer, corrupting data on the wire.\nIt causes endianess problems, e.g. use big endian even if it announced little endian\na few bytes before (\n[Proof 1](https://github.com/COVESA/dlt-daemon/blob/master/src/shared/dlt_common.c#L1034),\n[2](https://github.com/COVESA/dlt-daemon/blob/master/src/shared/dlt_common.c#L846)\n) etc.\n\nIt is clear that it did not compete against any other logging mechanism or had any trial phase.\nIt was just forged into a standard that is enforced for the Autosar OS.\n\n\n# License\nThis software is distributed under GPLv3 with some extension because GPLv3 did not manage to deny\ncriminal misuse by organizations.\nThis software is intended for usage by community and private individuals who are interested in car hacking.\nIt is explicitly denied that any company or organization monetizes on this software. Monetize does not only mean money,\nit means gaining a competitive advantage of any kind by using this software.\nThe author explicitly denies the usage for people associated with military,\ngovernment agencies of any kind to whatever degree, same for car manufacturers and associates.\n\n# Deprecation of PyPi Packages\nPackages on PyPi are no longer updated due to attempts of the Python Software Foundation to enforce new rules and basically flush out \ndevelopers who do not consent.  \nRecent packages can be installed directly from git, i.e.   \n```pip install git+https://gitlab.com/menschel/logging-dlt.git --upgrade```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A python logging adapter for diagnostic log and trace protocol.",
    "version": "2.0.0",
    "project_urls": {
        "Bug Tracker": "https://gitlab.com/menschel/logging-dlt/issues",
        "Homepage": "https://gitlab.com/menschel/logging-dlt"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1bce11e32a6b172754552e28701bbae94c51641af24831d1c0014cfb4ea08b9",
                "md5": "dd354d0b9baf2f207dd08998b33a4036",
                "sha256": "b1ffa434cd8c476a75965a74bdc47fce1e514002e3bb30b4685b05d34e3f4eff"
            },
            "downloads": -1,
            "filename": "logging-dlt-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "dd354d0b9baf2f207dd08998b33a4036",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 26441,
            "upload_time": "2023-12-31T21:05:28",
            "upload_time_iso_8601": "2023-12-31T21:05:28.422674Z",
            "url": "https://files.pythonhosted.org/packages/d1/bc/e11e32a6b172754552e28701bbae94c51641af24831d1c0014cfb4ea08b9/logging-dlt-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-31 21:05:28",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "menschel",
    "gitlab_project": "logging-dlt",
    "lcname": "logging-dlt"
}
        
Elapsed time: 0.28001s