Change in vdsm[master]: Change to use WatchedFileHandler instead of FileHandler

wudxw at linux.vnet.ibm.com wudxw at linux.vnet.ibm.com
Wed May 16 09:07:35 UTC 2012


Mark Wu has uploaded a new change for review.

Change subject: Change to use WatchedFileHandler instead of FileHandler
......................................................................

Change to use WatchedFileHandler instead of FileHandler

We find that no new log message appears in log file after manually changing
the vdsm log when vdsm is running. We have to restart vdsm to get logging
work again. It could happen when people try to add some markers to pinpoint
the related messages during toubleshooting. It's caused by the log file gets
associated with a new inode after the manual change. To make logging survie
the change, use WatchedFileHandler instead of FileHandler.

Change-Id: Iaf1cd7f3c7d568b8351eaa3ce262532caec94c7e
Reported-by: Changming Bai <baichm at linux.vnet.ibm.com>
Signed-off-by: Mark Wu <wudxw at linux.vnet.ibm.com>
---
M vdsm/logger.conf.in
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/63/4463/1
--
To view, visit http://gerrit.ovirt.org/4463
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf1cd7f3c7d568b8351eaa3ce262532caec94c7e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw at linux.vnet.ibm.com>


More information about the vdsm-patches mailing list