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 <[email protected]> Signed-off-by: Mark Wu <[email protected]> --- 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 <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://fedorahosted.org/mailman/listinfo/vdsm-patches
