DLT-DAEMON(1)

πŸ’– DLT-DAEMON(1) πŸ’–

okay bestie, welcome to the dlt-daemon page β€” it lives in section 1 of the General Commands Manual, so it's a command, it's for running, and it's lowkey the ✨main character✨ of the whole DLT situation. grab a strawberry πŸ“ and let's go.


🌸 NAME 🌸

dlt-daemon β€” the Diagnostic Log and Trace daemon. she's the it-girl, she's the central hub, no cap.


✨ SYNOPSIS ✨

dlt-daemon [-h] [-d] [-c filename] [-t directory] [-p port] [-a filename]

that's the glow-up lineup, fr fr. (and yes, -l shows up in the options below even tho she's not in this lil synopsis line β€” that's just how the page is, iykyk πŸ‘‘)


πŸ¦‹ DESCRIPTION πŸ¦‹

so picture this: the DLT daemon is literally THE place where all the logs and traces get gathered from all your different applications. it holds them temporarily or permanently and then hands them over to a DLT client application. that client can be running directly on the COVESA system, or β€” more likely, ngl β€” on an external tester device. she collects, she stores, she ships it off. obsessed πŸ’…

✨ OPTIONS ✨

okay here's the whole flag wardrobe, every single piece, don't skip a hanger:

  • -h β€” pops up a short help text. little cheatsheet moment, we love her πŸŽ€
  • -d β€” daemonize. you need this one for System V init systems specifically, so don't come for her if you're on something fancier.
  • -c β€” loads an alternative configuration file. if you don't say anything, she defaults to loading /etc/dlt.conf. that's the factory setting bestie πŸ’–
  • -t β€” sets the directory for the local fifo and user-pipes. the default is /tmp. heads up tho: any application that wants to connect to a daemon using a custom directory has to be started with the environment variable DLT_PIPE_DIR set appropriately. both sides gotta match, it's giving coordinated outfits 🌈
  • -p β€” the port to monitor for incoming requests. default is 3490. and same energy here: applications wanting to connect to a daemon using a custom port need to be started with the environment variable DLT_DAEMON_TCP_PORT set appropriately. matching set, periodt.
  • -a β€” loads an alternative configuration for app id log level defaults. by default the configuration file /etc/dlt-log-levels.conf is the one that gets loaded. πŸ“
  • -l β€” loads an alternative trace load configuration file. by default the configuration file /etc/dlt-trace-load.conf is loaded. she's the extra credit option, and she ate πŸ’…

πŸ”₯ EXAMPLES πŸ”₯

here's the vibe in action, copy-paste ready:

start DLT daemon in background mode:

dlt-daemon -d

start DLT daemon with your own configuration:

dlt-daemon -c ~/my-dlt-configuration.cfg

start DLT daemon with a custom pipes directory:

dlt-daemon -t ~/dlt_pipes

start DLT daemon listening on custom port 3500:

dlt-daemon -p 3500

look at her go, four whole slays πŸ˜­πŸ’–


πŸ’€ EXIT STATUS πŸ’€

if something goes wrong, you get a non zero value back. that's your signal bestie, she's not okay and she's telling you.


πŸ‘‘ AUTHOR πŸ‘‘

Alexander Wenzel β€” alexander.aw.wenzel (at) bmw (dot) de

the legend herself wrote this. respect the architect 🫢


Copyright (C) 2016 BMW AG. License MPL-2.0: Mozilla Public License version 2.0 http://mozilla.org/MPL/2.0/.

legal but make it cute. do with that what you will, just keep the license text intact fr fr.


πŸ™ˆ BUGS πŸ™ˆ

found a problem? see the Github issue tracker: https://github.com/COVESA/dlt-daemon/issues

not me sending you straight to the issues page πŸ’€ go report it, they wanna know.


🧚 SEE ALSO 🧚

go read those too, they're the supporting cast and they understood the assignment ✨


and that's the whole page bestie!! this was DLT-DAEMON(1) from the General Commands Manual β€” section 1, as the header up top already told you, and the footer's just her name again because she's iconic enough to sign off with nothing but DLT-DAEMON(1) πŸ’…πŸ’–πŸŒΈ

πŸ“¦ where this page comes from