All,
I recently built a server from scratch in Amazon EC2 using Amazon Linux
2023 which is systemd-based.
When having trouble with a client failing to connect to our
stunnel-based service, I tried raising the log level:
debug=7
and restarted the service.
I can't find any indication that the logs are available.
There is no /var/log/stunnel directory. There are none of the usual
files I might expect these logs to be in on other systems (e.g.
/var/log/seure, /var/log/auth, etc.). It appears the case that I should
be able to view the journals using this command:
sudo journalctl --follow -u stunnel.service
But nothing is ever printed there.
Does anyone know how to get logging from stunnel in this kind of
environment?
(BTW, *I* am able to connect to this service, so I know it's running,
etc. This is only a logging-problem, not an stunnel-isnt-working problem.)
Thanks,
-chris