Project

General

Profile

Actions

Bug #26039

closed

Templates are getting rendered in production.log

Added by Lukas Zapletal almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Logging
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1676302

Description of problem:

When we build the host all the templates are rendered and outputted to /var/log/production.log. because of this production.log size grows high.

This was introduced some time ago, but this might be security problem as templates contain sensitive data. Let's fix this.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #22493: Add new logging options to integrate with logging-journald gemClosedLukas Zapletal02/02/2018Actions
Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6479 added
Actions #2

Updated by Tomer Brisker almost 6 years ago

  • Related to Feature #22493: Add new logging options to integrate with logging-journald gem added
Actions #3

Updated by Marek Hulán over 5 years ago

  • Subject changed from Templates are getting rendered in production.log to Templates are getting rendered in production.log

This was in fact asked for. I don't see it as a bug. We use blob logger for this which can be disabled if the log size is too big. We can disable blob logger by default, but should clearly document how to enable it or how to configure journal so it's logged to separate logger.

Actions #4

Updated by Tomer Brisker over 5 years ago

  • Fixed in Releases 1.22.0 added
Actions #5

Updated by Lukas Zapletal over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF