biothings.api icon indicating copy to clipboard operation
biothings.api copied to clipboard

logging output from a shell cmd goes to logging file only, ideally on shell console as well

Open newgene opened this issue 2 years ago • 0 comments

If a command (e.g. merge, dump, etc) executes from the hub shell. Its output goes to the logging file, not the console output. Ideally, it should go to both the hub logging and console output.

Need to look closely to an example command to see how the output is handled. We probably don't want to enable logging to hub shell console globally, but only when a command is executed from the shell and then release it after it's executed.

It might be also related, when hit "Enter" with an empty cmd under the hub shell, it actually prints out the accumulated logging output, not sure how it works, and how it's related to the desired behavior described here. Maybe that was an attempted fix but does not work quite as expected.

newgene avatar Aug 05 '21 23:08 newgene