yubihsm-agent -L outputs socket name
IIUC, running the agent with -L is meant to result in a short-lived process printing the requested pubkey and exiting.
Is there really any point in printing a socket name before printing the pubkey? It would be convenient if it didn't, for populating logkey.pub with a simple redirect of stdout.