summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glusterfsd/src/glusterfsd.c4
-rw-r--r--libglusterfs/src/spec.y2
2 files changed, 4 insertions, 2 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 4ee7689bf6a..d8c693ff43b 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -1229,7 +1229,9 @@ main (int argc, char *argv[])
_gf_dump_details (argc, argv);
}
-
+
+ gf_log_volume_file (ctx->specfp);
+
gf_log ("glusterfs", GF_LOG_DEBUG,
"running in pid %d", getpid ());
diff --git a/libglusterfs/src/spec.y b/libglusterfs/src/spec.y
index b4cd9c96aa1..f1cffe5d93e 100644
--- a/libglusterfs/src/spec.y
+++ b/libglusterfs/src/spec.y
@@ -583,7 +583,7 @@ file_to_xlator_tree (glusterfs_ctx_t *ctx,
FREE (buffer);
return NULL;
}
- gf_log_volume_file (tmp_file);
+
gctx = ctx;
yyin = tmp_file;
ret = yyparse ();