Skip to content

Logging output to syslog should not include timestamp #848

@NickJH

Description

@NickJH

Current Behavior

Currently, if you set hostd to output to syslog, looking at journalctl, you see something like:

Oct 08 20:21:54 hostd hostd[3800939]: 2025-10-08T20:21:54+01:00        INFO        rhp4.siamux        RPC success        {"peerAddress": "15.204.160.10:33222", "streamID": "b0c3befb", "rpc": "Settings", "elapsed": "569.643µs"}

Note that there are two timestamps. The first comes from systemd for every message from every app and the second comes from hostd.

Expected Behavior

It would be better to suppress hostd's timestamp from the message.

Steps to Reproduce

No response

Version

2.4.1

Anything else?

This is observable in Debian 12 and Ubuntu 24.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions