Feature #18
closed
HOOK-based debug output wrongly appears in the console whereas the binding/service has been started via systemd
Added by Emmanuel Jubera [SAFT] over 2 years ago.
Updated almost 2 years ago.
Hardware platform:
Solidrun (aarch64)
OS Affects Version/s:
arz-1.0
Description
It would be nice to have "HOOK" logs in the system journal instead of the standard output.
[root@localhost ~]# HOOK: [req-000001:b2r/subscribe] BEGIN uid=0=0 gid=0 pid=116 2 label=System id=System
HOOK: [req-000002:ble-sensor/ciss/POC] BEGIN uid=0=0 gid=0 pid=1162 label=System id=System
HOOK: [req-000001:b2r/subscribe] subscribe(b2r/B2R_CAN:2) -> 0
HOOK: [req-000001:b2r/subscribe] reply[success: 0]
HOOK: [req-000001:b2r/subscribe] END
- Assignee changed from Vincent Rubiolo to Marc-Antoine Riou
- Priority changed from Normal to Low
Priority changed from Normal to Low.
Is it possible to have more context? When does it happen? Is there a specific command that produces that output?
Based on our discussions with Emmanuel, the issue is that once the binding is launched via the startup scripts, when a request is done on the binding side, the HOOK
debug logs appear on the console and not in the systemd journal.
- Subject changed from HOOK logs to HOOK-based debug output wrongly appear in the console whereas the binding/service has been started via systemd
- Subject changed from HOOK-based debug output wrongly appear in the console whereas the binding/service has been started via systemd to HOOK-based debug output wrongly appears in the console whereas the binding/service has been started via systemd
Because it is launched in startup scripts, scripts should be changed to used the command systemd-cat.
Example: afb-binder ....
should become systemd-cat --level-prefix=true --identifier=IDENTITY afb-binder ....
- Status changed from New to Submitter feedback needed
- Status changed from Submitter feedback needed to Resolved
Okay, also HOOK logs appear in the system journal when a service is used to launch the application.
- OS Affects Version/s arz-1.0.0 added
- OS Affects Version/s arz-1.0 added
- OS Affects Version/s deleted (
arz-1.0.0)
- Assignee changed from Marc-Antoine Riou to Emmanuel Jubera [SAFT]
- Status changed from Resolved to Closed
Also available in: Atom
PDF