Bug #26039
closed
Templates are getting rendered in production.log
Added by Lukas Zapletal almost 6 years ago.
Updated over 5 years ago.
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.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6479 added
- Related to Feature #22493: Add new logging options to integrate with logging-journald gem added
- 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.
- Fixed in Releases 1.22.0 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF