Install any skill in seconds. Free to start, no credit card required.
Get Started Free →DLT (Diagnostic Log and Trace) logging skills for automotive systems Includes 1 skill files covering .
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-10 | ✗→✓ | ▲ Improved | 38% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 21% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 32% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 90% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 90% | 0% |
1 skill files covering logging domain for automotive software engineering.
DLT is the standardized logging framework for automotive systems, defined by AUTOSAR and maintained by COVESA. It provides structured, high-performance logging with application/context-based filtering, binary message format for efficiency, and support for multi-ECU log aggregation.
Application 1 Application 2 Application N
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ DLT User │ │ DLT User │ │ DLT User │
│ Library │ │ Library │ │ Library │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘
│ │ │
└───────────────────┼───────────────────┘
│ UNIX Socket / Shared Memory
┌────────┴────────┐
│ DLT Daemon │
│ (dlt-daemon) │
├─────────────────┤
│ File Output │ → /var/log/dlt/*.dlt
│ Network Output │ → TCP port 3490
│ Serial Output │ → /dev/ttyS0
└─────────────────┘
│ TCP/IP
┌────────┴────────┐
│ DLT Viewer │ (Desktop analysis tool)
└─────────────────┘DLT uses a hierarchical ID system for filtering:
This enables precise filtering: show only ADAS.CTRL errors from ECU1.
| Level | Value | Usage | |-------|-------|-------| | FATAL | 0x01 | System failure, requires immediate action | | ERROR | 0x02 | Error condition, operation failed | | WARN | 0x03 | Potential problem, degraded operation | | INFO | 0x04 | Normal operational events | | DEBUG | 0x05 | Detailed debug information | | VERBOSE | 0x06 | Maximum detail (development only) |
DLT messages use a compact binary format for efficiency:
┌──────────────┬──────────────┬──────────────┬──────────────┐
│ Storage Hdr │ Standard Hdr │ Extended Hdr │ Payload │
│ (16 bytes) │ (4 bytes) │ (10 bytes) │ (variable) │
└──────────────┴──────────────┴──────────────┴──────────────┘
Storage Header: timestamp (seconds + microseconds), ECU ID
Standard Header: version, message counter, length, ECU ID
Extended Header: message info, app ID, context ID
Payload: type-safe arguments (string, int, float, raw data)Larger messages but viewable without external database.
Smaller messages, used in production for bandwidth savings.
Key configuration file: /etc/dlt.conf
ini# DLT daemon configuration Verbose = 1 # Enable verbose mode DaemonFIFOSize = 65536 # FIFO buffer size LoggingLevel = INFO # Daemon's own log level OfflineTraceDirectory = /var/log/dlt # File output directory OfflineTraceFileSize = 10000000 # Max file size (10MB) OfflineTraceMaxSize = 100000000 # Max total size (100MB) ECUId = ECU1 # This ECU's identifier
For distributed automotive systems:
The DLTAdapter in this project wraps the DLT protocol for Python applications. Key patterns:
with DLTAdapter(...)) for automatic cleanupOther measured skills in the registry, with their headline benchmark lift.