Skip to content

get logs from crashpad_handler on linux #1010

Answered by supervacuus
kristjanvalur asked this question in Q&A
Discussion options

You must be logged in to vote

Could we instruct it, e.g. via an environment variable, to log to a specific file?

Not without changing its logging implementation. The logging configuration is not exposed to the client but rather hard-coded depending on the build configuration (mainly the target OS). So, on Linux, it is set to log to stderr and the system log (which would be helpful in a container setup), but it seems to be the only supported operating system with no implementation for that option :-)

I took a cursory look at crashpad, and I couldn't see that anything useful were being logged at all, and in fact, it looked to me that on linux the log handlers were in fact no-ops.

That is true. crashpad doesn't log h…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kristjanvalur
Comment options

Answer selected by supervacuus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants