b2 has a command/parameter for that: b2 -omylog.log

But, on windows, it works like on linux: b2 ... stuff ... > output.log [a redirect], and if you want to append to an existing file b2 ... stuff ... >> output.log. Command line reference [including bash/powershell/ios and more]: https://ss64.com/

degski
--
If something cannot go on forever, it will stop" - Herbert Stein