missing SYSLOG_FACILITY using journal fills up kern.log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.log |
Fix Released
|
Undecided
|
Benjamin Reichel |
Bug Description
We use journal logging for keystone and found all the logs in kern.log which led to rather big file because it is not rotated so often. I could also find out that the log messages coming from OpenStack journal logs lack the SYSLOG_FACILITY:
Tue 2020-04-07 11:28:54.307881 UTC [s=7d06979fce01
CODE_
CODE_LINE=220
CODE_
PROCESS_
PRIORITY=6
LOGGER_
LOGGER_
_TRANSPORT=
_UID=116
_GID=121
_COMM=uwsgi
_EXE=
_CAP_
_SYSTEMD_
_BOOT_
_MACHINE_
_HOSTNAME=
MESSAGE=
THREAD_
SYSLOG_
_PID=27764
_CMDLINE=
_SYSTEMD_
_SYSTEMD_
_SOURCE_
If SYSLOG_FACILITY is present, the message does not end up in kern.log anymore.
Changed in oslo.log: | |
assignee: | Benjamin Reichel (breichel) → Stephen Finucane (stephenfinucane) |
Changed in oslo.log: | |
assignee: | Stephen Finucane (stephenfinucane) → Benjamin Reichel (breichel) |
Fix proposed to branch: master /review. opendev. org/718710
Review: https:/