-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can zap support dedicate file permission for log? #860
Comments
It's not possible to customize the permissions used for creating the file. However, this permission is only used if the file doesn't exist, so if you want a custom file permission, create the file beforehand with the permission you want, and then zap will use the existing file. |
So, this isn't quite right:
|
Sorry, I meant it's not possible to customize the permission value used by zap, it's hard-coded today and we don't have an easy way to customize it. We can definitely change it to |
When set logpath for zap, it always to create with file mode 0644 for log file.
Does it support dedicate file permission mode, such as 0664?
The text was updated successfully, but these errors were encountered: