Change in vdsm[master]: Copy truncate vdsm-reg.log

danken at redhat.com danken at redhat.com
Wed Jan 23 10:32:10 UTC 2013


Dan Kenigsberg has submitted this change and it was merged.

Change subject: Copy truncate vdsm-reg.log
......................................................................


Copy truncate vdsm-reg.log

When the vdsm-reg program doesn't stop (if it fails to contact the
engine, for example) it will continuously generate messages that can
flood the log. Moving the log file is not enough because the program
keeps it open, so the space is not freed. As the program opens the file
for appending it is safe to copy and truncate the file.

Change-Id: I92bea487a70fa2f39a88be417faa4efd7bb99f08
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M vdsm_reg/vdsm-reg-logrotate.conf
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Alon Bar-Lev: Looks good to me, but someone else must approve
  Juan Hernandez: Verified
  Dan Kenigsberg: Looks good to me, approved
  humble devassy: Looks good to me, but someone else must approve


--
To view, visit http://gerrit.ovirt.org/11282
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I92bea487a70fa2f39a88be417faa4efd7bb99f08
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: humble devassy <hchiramm at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list