forked from natefinch/lumberjack
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
permissions: allow to set custom permission bits on log files
This adds the FileMode field to allow setting custom permission bits on log files. We have use cases where the logs should be viewed only by privileged. This custom FileMode is used only if set by callers. It does not perform validation on the passed permissions and code is kept minimal. Callers should know what to pass. Signed-off-by: Djalal Harouni <tixxdz@gmail.com>
- Loading branch information
Showing
1 changed file
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters