You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/12/10 23:31:22 UTC
[GitHub] [incubator-mxnet] szha opened a new pull request #17038: use env
var to control stack trace logging
szha opened a new pull request #17038: use env var to control stack trace logging
URL: https://github.com/apache/incubator-mxnet/pull/17038
## Description ##
use env var `DMLC_LOG_STACK_TRACE_DEPTH` to control stack trace logging
This PR also turns off the scary stack trace logging during exception by default.
related: https://github.com/dmlc/dmlc-core/pull/584
## Checklist ##
### Essentials ###
- [x] Changes are complete (i.e. I finished coding on this PR)
- [x] All changes have test coverage:
- Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
- [x] Code is well-documented:
- For user-facing API changes, API doc string has been updated.
- [x] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change
### Changes ###
- [x] disable stack trace by default
- [x] use `DMLC_LOG_STACK_TRACE_DEPTH` env var to turn on and set depth of stack trace.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services