Bug 834853 - engine's log should rotate every 10M, not 1M
Summary: engine's log should rotate every 10M, not 1M
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.1.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: Yair Zaslavsky
QA Contact: Yaniv Kaul
URL:
Whiteboard: infra integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-24 09:46 UTC by Yaniv Kaul
Modified: 2015-09-22 13:10 UTC (History)
7 users (show)

Fixed In Version: si9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:03:56 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yaniv Kaul 2012-06-24 09:46:52 UTC
Description of problem:
It appears that the log rotate is happening every 1M, which is too low for diagnosing issues. See /etc/ovirt-engine/engine-service.xml:

<subsystem xmlns="urn:jboss:domain:logging:1.1">
            <size-rotating-file-handler name="SERVER">
                <formatter>
                    <pattern-formatter pattern="%d %-5p [%c] (%t) %s%E%n"/>
                </formatter>
                <file path="/var/log/ovirt-engine/server.log"/>
                <rotate-size value="1M"/>
                <max-backup-index value="30"/>
                <append value="true"/>
            </size-rotating-file-handler>
            <size-rotating-file-handler name="ENGINE" autoflush="true">
                <level name="INFO"/>
                <formatter>
                    <pattern-formatter pattern="%d %-5p [%c] (%t) %s%E%n"/>
                </formatter>
                <file path="/var/log/ovirt-engine/engine.log"/>
                <rotate-size value="1M"/>
                <max-backup-index value="30"/>
                <append value="true"/>
            </size-rotating-file-handler>

Version-Release number of selected component (if applicable):
rhevm-3.1.0-2.el6ev.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Yair Zaslavsky 2012-06-25 12:25:35 UTC
Suggested patch -
http://gerrit.ovirt.org/#/c/5673/

Comment 4 Yaniv Kaul 2012-07-08 07:34:06 UTC
SI9.1 - fixed, conf files show 10M.


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