diff options
author | Gaurav Kumar Garg <garg.gaurav52@gmail.com> | 2015-12-01 14:23:08 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2016-02-04 13:51:53 -0800 |
commit | 8fdfa0c17cf492f39e675f7502596754f6e5aeb4 (patch) | |
tree | 39ce7366bf439e27988682e21e595ada24cd00b3 /tests | |
parent | f6c5024eb3f37b2c4e5a3bea5136987affb19aa7 (diff) |
libglusterfs: close & open cmd_history.log on log rotate
Post log rotate, cmd_history.log is not refreshed (closed & opened back)
due to which new commands still land up in the log rotated file.
Fix is to close and open cmd_history.log file upon log rotation
Change-Id: Ie6990c9d55b0afa544bc5c84de3db49ff4b1299b
BUG: 1286959
Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com>
Reviewed-on: http://review.gluster.org/12832
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions