Project

General

Profile

Actions

Bug #19216

open

we don't log to journald and that's confusing

Added by Peter Amstutz almost 2 years ago. Updated 27 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Story points:
-
Release:
Release relationship:
Auto

Description

I have arvados-controller installed but failing to start.

If you check journalctl, there is no logs.

It turns out it logs to /var/log/syslog

But that's not very obvious. We should either log to both (although, I think one of the reasons it logs to syslog is that journalctl was getting overwhelmed by logging volume) or at least see if we can log a message to journalctl that tells you where to look.

Actions #1

Updated by Peter Amstutz almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz over 1 year ago

  • Subject changed from Controller not logging to journalctl? to we don't log to journalctl and that's confusing
Actions #3

Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)
Actions #4

Updated by Peter Amstutz over 1 year ago

  • Subject changed from we don't log to journalctl and that's confusing to we don't log to journald and that's confusing
Actions #5

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2022-07-06 to 2022-07-20
Actions #6

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2022-07-20 to 2022-08-03 Sprint
Actions #7

Updated by Tom Clegg over 1 year ago

afaik packaged services do log to journald (except rails and nginx). 9tee4 has a /etc/systemd/system/arvados-controller.service.d/override.conf to bypass journald:

[Service]
Type=simple
ExecStart=
ExecStart=/bin/bash -ce "exec /usr/bin/arvados-controller 2>&1 | /usr/bin/rotatelogs -f /var/log/arvados/%%Y%%m%%d-arvados-controller 86400" 
Actions #8

Updated by Peter Amstutz over 1 year ago

Except that in practice they don't, at least on the nodes I was testing on, the only logs I could find were in syslog, not journald, unless I'm doing it wrong.

Actions #9

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2022-08-03 Sprint to 2022-08-17 sprint
Actions #10

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2022-08-17 sprint to 2022-08-31 sprint
Actions #11

Updated by Peter Amstutz over 1 year ago

  • Target version deleted (2022-08-31 sprint)
Actions #12

Updated by Peter Amstutz about 1 year ago

  • Release set to 60
Actions #13

Updated by Peter Amstutz 27 days ago

  • Target version set to Future
Actions

Also available in: Atom PDF