Bug 998576
| Summary: | rhevm-log-collector - log file overwritten at each execution | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Sandro Bonazzola <sbonazzo> |
| Component: | ovirt-engine-log-collector | Assignee: | Sandro Bonazzola <sbonazzo> |
| Status: | CLOSED ERRATA | QA Contact: | Ilanit Stein <istein> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | acathrow, iheim, knesenko, kroberts, Rhev-m-bugs, sbonazzo, yeylon |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | 3.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | rhevm-log-collector-3.3.0-0.2.rc.el6ev | Doc Type: | Bug Fix |
| Doc Text: |
Each log collection overwrote the existing log file. This made debugging issues difficult, especially when multiple attempts were executed. Now, log messages are written into timestamped files by default, preventing the overwrite of existing files. The default location of the logs has been changed from /var/log/ovirt-engine to /var/log/ovirt-engine/ovirt-log-collector. In addition, a log rotation was introduced to compress old logs.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-21 16:59:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1009116 | ||
|
Description
Sandro Bonazzola
2013-08-19 14:25:27 UTC
patch pushed upstream master Log messages to timestamped files as default, avoiding to overwrite existing ones. The default location of the logs was changed, to improve /var/log/ovirt-engine sanity. /var/log/ovirt-engine -> /var/log/ovirt-engine/ovirt-log-collector A log rotation was introduced in order to compress old logs. merged upstream master, pushed to 3.3 branch. merged upstream 3.3 branch Reassign. IS11 contain: rhevm-log-collector-3.3.0-0.1.master.el6ev.noarch (In reply to Ilanit Stein from comment #6) > Reassign. IS11 contain: rhevm-log-collector-3.3.0-0.1.master.el6ev.noarch IS11 includes the correct version. Please recheck your repos Verified on is11. Existing older tools installed, prevented the new tools installation. This bug is currently attached to errata RHBA-2013:15255. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks in advance. 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. http://rhn.redhat.com/errata/RHBA-2014-0039.html |