diff options
author | Mohammed Rafi KC <rkavunga@redhat.com> | 2019-06-18 22:15:37 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2019-06-24 12:18:37 +0000 |
commit | d1d9c2587f5a985073039db5d15fe9adb0433547 (patch) | |
tree | 56edb47956635d708b9cc33597a9f9206f7dd496 /xlators/mgmt/glusterd/src/glusterd-shd-svc-helper.h | |
parent | aeb4545f35ef2740db36387cb855dcaa6bafb03d (diff) |
glusterd/shd: Change shd logfile to a unique name
With the shd mux changes, shd was havinga a logfile
with volname of the first started volume.
This was creating a lot confusion, as other volumes data
is also logging to a logfile which has a different vol name.
With this changes the logfile will be changed to a unique name
ie "/var/log/glusterfs/glustershd.log". This was the same
logfile name before the shd mux
Change-Id: I2b94c1f0b2cf3c9493505dddf873687755a46dda
fixes: bz#1721601
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-shd-svc-helper.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-shd-svc-helper.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-shd-svc-helper.h b/xlators/mgmt/glusterd/src/glusterd-shd-svc-helper.h index c70702c21f0..59466ec9e3b 100644 --- a/xlators/mgmt/glusterd/src/glusterd-shd-svc-helper.h +++ b/xlators/mgmt/glusterd/src/glusterd-shd-svc-helper.h @@ -27,12 +27,6 @@ glusterd_svc_build_shd_volfile_path(glusterd_volinfo_t *volinfo, char *path, int path_len); void -glusterd_svc_build_shd_logdir(char *logdir, char *volname, size_t len); - -void -glusterd_svc_build_shd_logfile(char *logfile, char *logdir, size_t len); - -void glusterd_shd_svcproc_cleanup(glusterd_shdsvc_t *shd); int |