[stunnel-users] Question about "forground = yes" and "output = FILE" combined options

Michael Gebis mgebis at countertack.com
Wed Oct 14 22:34:04 CEST 2015


Michal,

Thank you for the speedy response!

Michael

On Wed, Oct 14, 2015 at 1:19 PM, Michal Trojnara
<Michal.Trojnara at mirt.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 14.10.2015 21:42, Michael Gebis wrote:
>> I have a question about the combination of the "foreground = yes"
>> option combined with the "output = FILE" option.
> [cut]
>> This implies that if you set both "foreground = yes" and "output =
>> FILE", the log messages will not be sent to stderr and will instead
>> be sent to the log file only.
>
> The implementation was modified in version 4.22 to allow logging to
> multiple destinations, but apparently I never updated the manual to
> reflect this change.
>
>> We'd like this behavior--it makes it easier for our scripts to
>> distinguish startup errors parsing the config file (which are sent
>> to stderr, since the log file isn't configured yet) vs. normal
>> operation after the config file is parsed and the log file is
>> established.
>
> This is close to the way it works without "foreground = yes".
>
>> I guess I'm asking: is the documentation in conflict with the
>> behavior, and if so, which is correct?
>
> The software works as intended.  I need to update the documentation.
>
> Best regards,
>         Mike
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJWHrjcAAoJEC78f/DUFuAUi5AQAIAwfUNhcRI3pXD2qDcXBFgP
> GVgJdeZn5wRlsoE/p6rCoFJ9+7vgw0Rh/7pIWKkzgoDfVDRDI2/TUlV0SPBJyyQw
> jY9F4M82QP3vIJSGYmJF2AWcZEY0z+Mc17Bm+HIvqiUIBmzMS+5N/O+4u/rZr0SO
> yibtfpowjAnqA3cNAZNJkhncjmc3GbsXqsYOvIUoZhNzoaOML0RC6DBrPLFhZQ+w
> ZiMUPRByR17sX37uuy8fBRph62tvU2a+mON1AuozW0dZvdjPNnxXYsIdHbOkS1CK
> XSQWlHVkBar/gUoHbN8AEkBTFl90FQI1y5sTVJqYpEb/ciy8gL5Eo1ZuhM2/RDPN
> mncB1Pe8H0kBDxzOGcdwppk4+qj2jEPKRm3KhivO+Jwq0bpgmprMecWsUrvGxojL
> N+kPcPSW14JIeZOWhSrf706fAUSmQQOTxkuXD1mfpxlkW/gVUwAiI4Vceo8i6f/1
> uQ86g7oJlYaqz5g3cqAOxT4+uwgp1UEtBbsb2rq0K848IYFlK5fVFTkjxl06iGKF
> NvTUCdXdLmXNP3nYZu2lo67owCqsROOrA5oh83cCf6s5zMqAd7eErUeeWi25fooK
> YI5CP5YLP/h51SS8P0fGXq7DoSGPJEb3ZLBd4FP82X/d0LE+lrKgcLLNKPMY1jOT
> Lu3dwlit/2KWwnjeR2f3
> =OaRE
> -----END PGP SIGNATURE-----
> _______________________________________________
> stunnel-users mailing list
> stunnel-users at stunnel.org
> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users



More information about the stunnel-users mailing list