path: root/xlators/mgmt/glusterd/src/glusterd-rebalance.c
diff options
authorsrijan-sivakumar <>2020-08-07 15:02:07 +0530
committerSunny Kumar <>2020-08-11 10:40:22 +0000
commitb759709f947da57e00b44262fa3fa72a53557ca2 (patch)
treec4bf5179d994a6dd4e637cf6251c7d390782adac /xlators/mgmt/glusterd/src/glusterd-rebalance.c
parent634ce64d0f03ddf3c2a3c05ce21cf9cdcbb763c5 (diff)
Events: Log file not re-opened after logrotate.HEADmaster
Issue: The logging is being done in the same file even after the logrotate utility has changed the file. This causes the logfile to grow indefinitely. Code Changes: Using the WatchedFileHandler class instead of FileHandler class. This watches the file it is logging into and if the file changes, it is closed and reopened using the file name. Hence after file rotate, a new file will be used for logging instead of continuing with the same old file. Fixes: #1289 Change-Id: I773d04f17613a03709cb682692efb39fd8e664e2 Signed-off-by: srijan-sivakumar <>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-rebalance.c')
0 files changed, 0 insertions, 0 deletions