diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-07-02 07:08:47 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-07-02 10:14:47 -0700 |
commit | 52d0ae7bc35680bcec094be39f119d966ea9a77f (patch) | |
tree | b462b17e4ee18a9bf23e19f077d2cf6b7116a017 | |
parent | ebfcb5368c225aed11c007aee1e362c5d345c2b0 (diff) |
Print volume file after printing other details.
This makes the log format compatible with earlier
versions. Fixes bug #105.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 4 | ||||
-rw-r--r-- | libglusterfs/src/spec.y | 2 |
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 (); |