log(main) show IPFS_DIR/IPFS_PATH at start up
a one-time print out
Brian Tiger Chow committed
Jan 20, 2015 at 06:20 UTC
3279047074056e99481ed222ea62b46d8c8dcd70
1 file changed
+1
cmd/ipfs/main.go
+1
@@ -268,6 +268,7 @@ func callPreCommandHooks(ctx context.Context, details cmdDetails, req cmds.Reque
268
}
269
270
func callCommand(ctx context.Context, req cmds.Request, root *cmds.Command, cmd *cmds.Command) (cmds.Response, error) {
271
+ log.Info(config.EnvDir, req.Context().ConfigRoot)
272
var res cmds.Response
273
274
details, err := commandDetails(req.Path(), root)