Description of problem: horizon.log can grow quite considerably and currently there is no way to limit it from the configuration. This should be limited for size and probably date as well. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
thank you, this is true. Question is: is this something to be configured by packstack/puppet modules or via packaging?
Since the file can be huge, opening it from Horizon --> Redhat Access --> Logs can take very long time
adding a file named openstack-dashboard to /etc/logrotate.d containing: /var/log/horizon/*.log /var/log/httpd/horizon_*.log { weekly rotate 4 missingok compress minsize 100k } should fix this.
a fix for this was added for rhos-6 release
Um, clarifying here: A fix was added very early in RHOS-6 development cylce for python-django-horizon package. Esp. this is included in the version mentioned above.
also backported to rhos 5: python-django-horizon-2014.1.3-5.el7ost
Verified ======== python-django-horizon-2014.1.4-1.el7ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0839.html