sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

Set env var `SENTRY_LOG_LEVEL=` matching the diagnostic level

Open bruno-garcia opened this issue 3 years ago • 2 comments

SENTRY_LOG_LEVEL= is used by the CLI to give more information on issues and it's needed to diagnosing some issues. Set the env var before invoking sentry-cli

For context: https://github.com/getsentry/sentry-unity/issues/553

bruno-garcia avatar Feb 09 '22 15:02 bruno-garcia

I've actually tried this (independent of this issue) when working on the Windows symbol upload and the slight problem with this is that the INFO logs coming from the sentry-cli seem to be printed to stderr for some reason. At least that's how it behaved while capturing the stderr & stdout when the process was launched from c#.

https://github.com/getsentry/sentry-unity/pull/607/files#diff-33dd65bbdffe8c1099e276c49804112fa0c7cba38eeec03787b7112b583f17cbR116

vaind avatar Mar 03 '22 09:03 vaind

https://github.com/getsentry/sentry-cli/issues/1130

vaind avatar Mar 03 '22 09:03 vaind