BugSplat-Git / symbol-upload

Cross-platform symbol upload utility
MIT License
10 stars 3 forks source link

Redirect console log to file #133

Closed montex12 closed 2 months ago

montex12 commented 2 months ago

Hello, Is there a mechanism to redirect command line log to file? That would be useful to know what's going on and which files were uploaded to BugSplat.

bobbyg603 commented 2 months ago

Hi @montex12

Which OS are you using? On macOS I redirected the output using the > pipe (which should also work on Windows).

bobby@Mr-Presidents-MacBook-Pro support % symbol-upload -b fred -a test -v 1.0 -u fred@bugsplat.com -p *** -f "**/bugsplat.dll" > log.txt
bobby@Mr-Presidents-MacBook-Pro support % more log.txt
About to authenticate...
Authentication success!
Found files:
 bugsplat.dll
symsrv/bugsplat.dll/64FB82ED7A000/bugsplat.dll
About to upload symbols for fred-test-1.0...
Worker 1 uploading 1 symbol files...
Worker 2 uploading 1 symbol files...
Worker 1 uploading bugsplat.dll...
Worker 2 uploading bugsplat.dll...
Worker 2 uploaded bugsplat.dll! (223 kB @ 129 kB/sec)
Worker 1 uploaded bugsplat.dll! (223 kB @ 115 kB/sec)
Uploaded 2 symbols totaling 447 kB @ 221 kB/sec
montex12 commented 2 months ago

I confirm it's working.