2015-09-14 12:41 GMT-04:00 Michal Trojnara <Michal.Trojnara@mirt.net>:

> I am using fork mode. My syslog is defined as local6.debug and
> stunnel.conf contains debug=local6.info.

You are right.  The default log id type (sequential) does not work
with fork threads.  Why do you use fork threads?  Just don't do it.

 
Quite a while ago we tested the thread mode. We say memory leaks and went with fork for that reason.

Thanks very much for the logId bit. logId=thread is exactly what I needed.