log the stack if available