You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
e.g. how to compile with debug symbols and run in the gdb debugger locally, which is good for debugging crashes that don't happen in unit tests by getting stack traces
# First change Makefile to add --compilation_mode=dbg to the end of the command on the bazel-bin/src/main/auth_server target, then:
make docker-from-scratch
docker run -it -u 0 -v /Users/pivotal/workspace/authservice/run/config:/etc/authservice --entrypoint /bin/bash authservice:pivotal
apt-get update
apt-get install gdb -y
gdb /app/auth_server
run
info threads
bt
The text was updated successfully, but these errors were encountered:
e.g. how to turn up istio-proxy's log level
For a sidecar proxy:
kubectl exec $applicationPod -c istio-proxy -- curl -X POST http://localhost:15000/logging?level=trace
For the ingress proxy:
kubectl exec -n istio-system $istioIngressgatewayPod -- curl -X POST http://localhost:15000/logging?level=trace
To turn the log level down again, repeat the same command, but substitute
debug
fortrace
.e.g. how to enable GRPC logging on the authservice container
and the interesting part of the authservice container logs will then look like this:
e.g. how to compile with debug symbols and run in the gdb debugger locally, which is good for debugging crashes that don't happen in unit tests by getting stack traces
The text was updated successfully, but these errors were encountered: