Various debugging info not shown (

Maxim Dounin mdounin at mdounin.ru
Sun Oct 27 14:10:13 UTC 2013


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



More information about the nginx mailing list