Welcome! Log In Create A New Profile

Advanced

Re: Various debugging info not shown (

Maxim Dounin
October 27, 2013 10:12AM
Hello!

On Sun, Oct 27, 2013 at 10:30:53AM +0100, Alex wrote:

> I am trying to debug handshakes and ticket reuse. Lot's of debugging
> information is shown in my error_log, but some info is skipped.
> Specifically, info from: /src/event/ngx_event_openssl.c. For example,
>
> ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
> "ssl new session: %08XD:%d:%d",
> hash, sess->session_id_length, len);
>
> ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
> "ssl get session: %08XD:%d", hash, len);
>
> Don't seem to be executed - i.e. neither is shown in my logs. On the
> other hand
>
> if (SSL_session_reused(c->ssl->connection)) {
> ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
> "SSL reused session");
> }
>
> get's executed, i.e. "SSL reused session" is shown in the logs.
>
> Any ideas?

What makes you think that "info is skipped", rather than assuming
the relevant code isn't executed for some reason?

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Various debugging info not shown (

Alex October 27, 2013 05:32AM

Re: Various debugging info not shown (

Maxim Dounin October 27, 2013 10:12AM

Re: Various debugging info not shown (

Piotr Sikora October 28, 2013 04:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 124
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready