Application names incorrect in logs

Description

I noticed that log messages from applications are all showing up as from "dbus-daemon" in the journal.  This will be challenging to work with as we try to get more things working for Marlin.  If at all possible, argv[0] should be updated when the applications are run by applaunchd so that debugging is possible.

Environment

None

Activity

Show:

Marius Vlad 
May 23, 2023 at 2:02 PM

Turns out, this has been fixed a while now. Closing time.

Marius Vlad 
May 23, 2023 at 2:01 PM

Oh, this has been actually fixed for some time now, as mentioned Scott above, this was fixed when we switched to systemd units. We did this in needlefish.

Walt Miner 
May 23, 2023 at 1:47 PM

   Maybe resolve this as "Won't fix" or will there be something done in the future?

Marius Vlad 
March 31, 2022 at 2:09 PM

Added a note the confluence devel plan to point to this.

Scott Murray 
March 30, 2022 at 1:55 PM

I did research this a bit a while back, it's basically somewhat unfixable as things stand today.  systemd only uses the parent process of a group when logging, the only way to change what shows up would be to redo all logging in all apps to explicitly use the systemd logging functions.  This was one of the lesser motivations for proposing reworking applaunchd to drop direct spawning and D-Bus activation, logging will work as expected if apps are started by systemd.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Components

Priority

Created January 12, 2022 at 9:52 PM
Updated May 23, 2023 at 7:10 PM
Resolved May 23, 2023 at 2:02 PM

Flag notifications