holochain / lair

secret lair private keystore
Apache License 2.0
42 stars 11 forks source link

Tracing is outputted to `stdout` which causes an issue with the `url` command #137

Closed cdunster closed 1 month ago

cdunster commented 1 month ago

The url command can be used to:

Print the connection_url for a configured lair-keystore server to stdout and exit

However, the PR #135 added tracing to stdout so now the output of the url command is:

2024-10-18T14:23:56.883594Z  INFO lair_keystore: starting lair-keystore
unix:///tmp/trycp/players/agent-51/socket?k=swcG0QVYnXWYLlJlAoNXOMaSN6AQdmvdP_VRoCESPHQ

This causes problems when trying to use the url command to get the connection_url to be used. E.g https://github.com/holochain/tryorama/blob/bcbb1262db8b15c77ad5cf0ee451f0ed44ca2523/crates/trycp_server/src/configure_player.rs#L119