Hi I came across this thread, I know it's old...
http://mailing.unix.stunnel-users.narkive.com/QOEx4XQz/stunnel-users-log-rot...
And it says that's it's on the todo list, though I don't see anything indicating this on the list.
So is log rotation implemented for Windows and if so what is the config parameter?
Thanks
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 16.03.2015 14:55, John Smith wrote:
And it says that's it's on the todo list, though I don't see anything indicating this on the list.
Good point. I must have accidentally deleted the TODO entry.
Some related features that are already implemented: - Reopening the log file controlled with GUI was implemented in stunnel 4.39. - The "log" option to control whether the log file is appended or overwritten was added in stunnel 5.00.
Mike
Hi I noticed that config value. But if I'm reading the doc correctly this means that the file will only be rotated if we restart stunnel? Does this means if we have a fairly stable system and no issues the log can grow forever? :)
On 16 March 2015 at 11:06, Michal Trojnara Michal.Trojnara@mirt.net wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 16.03.2015 14:55, John Smith wrote:
And it says that's it's on the todo list, though I don't see anything indicating this on the list.
Good point. I must have accidentally deleted the TODO entry.
Some related features that are already implemented:
- Reopening the log file controlled with GUI was implemented in
stunnel 4.39.
- The "log" option to control whether the log file is appended or
overwritten was added in stunnel 5.00.
Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQIcBAEBAgAGBQJVBvF0AAoJEC78f/DUFuAUp5QP/11tN0C92kOfD8INgD0EEU60 bvh2wg8pahbuywlG8ULrPGtE7aEnHBRY3Mj9Z3+BMVZ5H4sVWbO+sc7sHAO/FnO1 zY/wZQ6Duoq+kZBEBn1ghhJ4Io6xlVB5uyj/v55gt4UCEL2W44iqUG3/r+vqG0qe clIwWc5Mx+pX8KprFN13fYD7zeKZbC//1Q9WvJcDdj3FgR0/nQhiJCKMtFewDr4G mzTSxHOvt2qPgp5augHvbhGZJbAznz5yKYK5majEWLUNLprRX3KA39Jibcg6aHME rkJJ0vqhXKKH3K2uqnXT1gbExBR41LgxpIa+VcqlGWM1j2u1tTiq3qkQ3va2xyVt fUh/bu/Z1g6pDe0R6Dx1XJhWmbnGHbcNWnpTkr+q2ag6DNOMm5PMN+METNoQ2RwA f7F4rxT5xKKc4OrBw+p66zXcjpAO07ytFX7kNwQ30mtHyKk01Qf/o4e4YLxVWWgt lSiCUDj9ndiJagCWvrKtguzGR+KEfIdBMWlmI4YSL4a0A34Y60ww3nhdDOJKqPj2 JQXD0GEEjSb0Ee3tac9tWffKg2NtazfwYyTrHEnSSU81HYawKyXP6RlNOn0nli7f /9Rg3viMB2JkSJzqzxEP58DiRt/HwmlAxVkgPgjQ5/BIAOBgsbZPYVoj5fV7Uk8S x5D8WtgLz2QHCUHXc0SN =BZUn -----END PGP SIGNATURE----- _______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 30.03.2015 17:02, John Smith wrote:
Hi I noticed that config value. But if I'm reading the doc correctly this means that the file will only be rotated if we restart stunnel? Does this means if we have a fairly stable system and no issues the log can grow forever? :)
There is a GUI option to reopen the log file. There are also plans (on the TODO list) to implement a commandline interface to control stunnel service. With this interface it would be possible to reopen stunnel logs with Task Scheduler.
Mike
But I think it would be nicer if the log rotated automatically...
On 31 March 2015 at 07:59, Michal Trojnara Michal.Trojnara@mirt.net wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 30.03.2015 17:02, John Smith wrote:
Hi I noticed that config value. But if I'm reading the doc correctly this means that the file will only be rotated if we restart stunnel? Does this means if we have a fairly stable system and no issues the log can grow forever? :)
There is a GUI option to reopen the log file. There are also plans (on the TODO list) to implement a commandline interface to control stunnel service. With this interface it would be possible to reopen stunnel logs with Task Scheduler.
Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQIcBAEBAgAGBQJVGowlAAoJEC78f/DUFuAUUakP/2qDzBkuqSgIPFMNTr3nFFdQ MTZZ75GY/w5RA+uyR9sqF8HfVffi0zQcBMlpsDjscfyj9vLIdtQIbtW+DSezT66p JH1XMWJQ946QbT1YN5/CtziIAOt/THCL+fS4cve7+pONM3p7uh7tSsPN7OO6tMb7 Fs0kRJBbYOouJw6N0Hp6++ntDRg3GPKwtakNDA3lZu1D6jAeVXQJcRUqrpqzB20u MvXhjNlTB/rLvC7PYHKp48SmQk1v++cJ4BSgubNpbgbZ6wrzRtH0erlXpP4bV7xx CXdjW1klS2a5HesAM/VralhroduQl9CR21b2vCyu/tKF34OPwlSy9A9UH+Zy4iSZ g17gPhF55YYFVkIHGGD/O0mXx/cbuLriJaeeQRLeZAYRwrXOdyjGIk5o6baKBSW/ 5lRcR0tE9tT1O55+OYl37pGkzXOFesnc2L7rJcDBu40eTB8zjMbqTtijS6c5KPba TvALTrG1s0StAAauQU31Xg4u+uQsa5Z2jwcpK/TfMUmdtHt68G6WuDurvXmHkmzW S3ZqEKWlVXMjzR5ulnPYMfOyaS3d/9So3738mxPZz7qjy/EkdGTfBh2kTMAdrG8a fHFzDAyxM3GgNWfAFDc35FKAsa0BWhMqlZo2eKdWUEvnb7TRMYpcZxi/0jfg4gqP QRmY3kzArmEIw6hN7Cze =RBIy -----END PGP SIGNATURE----- _______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
John Smith wrote:
But I think it would be nicer if the log rotated automatically...
Indeed, except it violates the KISS principle. https://en.wikipedia.org/wiki/KISS_principle It is currently not a high priority issue to me. A sponsor could probably influence rearranging my priorities. 8-)
Best regards, Mike