Bug 1331836 - [RFE] Adjust logging to not have logs go to two places on disk
Summary: [RFE] Adjust logging to not have logs go to two places on disk
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-29 18:13 UTC by David Juran
Modified: 2018-01-25 10:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-25 10:02:45 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description David Juran 2016-04-29 18:13:34 UTC
Description of problem:
instack-undercloud sets up journald to log to persistent storage. At the same time does the default rsyslog configuration also log to (the same) persistent storage. This seem rather wasteful...

Version-Release number of selected component (if applicable):
instack-undercloud-2.2.7-2.el7ost

Comment 2 Peter Portante 2016-04-29 18:45:23 UTC
By default, systemd's journal logs to /run/log/journal if /var/log/journal does not exist (default auto setting). See https://www.freedesktop.org/software/systemd/man/journald.conf.html#Storage= for the "auto" option, the default.

RHEL assumes that rsyslog is going to persist logs to storage.

So if we want to persist logs to disk via journal, we should probably remote rsyslog entirely, or change it so that rsyslog is not logging to disk, just sending off-host to a central log server.


Note You need to log in before you can comment on or make changes to this bug.