go-ipfs-cmds icon indicating copy to clipboard operation
go-ipfs-cmds copied to clipboard

[WIP] Log requests from the CLI

Open schomatis opened this issue 7 years ago • 2 comments

Addresses #109.

schomatis avatar May 21 '18 16:05 schomatis

@keks Where would be a good point in the execution flow of a CLI command to test if the command was correctly registered in the request logger?

schomatis avatar May 21 '18 17:05 schomatis

The Context object which contains the request log seems to be available at the Request level but I'm not sure if the IpfsNode has a direct access to it (for example to check it during the teardown procedure). I'll try to take a closer look at the ipfs diag cmds command.

schomatis avatar May 21 '18 17:05 schomatis