Skip to content

packaging/systemd: log to journald instead of an unrotated logfile#671

Open
75asu wants to merge 1 commit into
NVIDIA:mainfrom
75asu:fix/systemd-log-to-journald
Open

packaging/systemd: log to journald instead of an unrotated logfile#671
75asu wants to merge 1 commit into
NVIDIA:mainfrom
75asu:fix/systemd-log-to-journald

Conversation

@75asu

@75asu 75asu commented Jun 3, 2026

Copy link
Copy Markdown

Closes #668.

Removes the StandardOutput/StandardError append: directives from the systemd unit so the exporter inherits systemd's default journal sink. Output is then queryable via journalctl -u nvidia-dcgm-exporter, rotated/size-capped by journald, and structured with unit/PID/priority, instead of writing to an unrotated /var/log/dcgm-exporter.log that operators must manage separately. This matches the change requested in the issue.

… unit

Signed-off-by: Asutosh Panda <asutosh.pda@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

systemd unit should not define StandardOutput and StandardError

1 participant