Skip to content

v2.4.0

Latest
Compare
Choose a tag to compare
@lambdanis lambdanis released this 04 Nov 14:18
4017b8c

What's Changed

Allow changing file permissions on rotate by @lambdanis in #5

This release changes the behaviour when Logger.FileMode field is set, but a log file with different permissions existed before the logger started. Before, permissions of the existing file were preserved, even after log rotation, so Logger.FileMode field was effectively ignored. Now in such case file permissions are not changed immediately, but after log rotation the new file has permissions corresponding to Logger.FileMode field. In case Logger.FileMode field is unset, the existing file permissions are preserved like before.

Full Changelog: v2.3.0...v2.4.0