Closed benji closed 2 months ago
Hello!
I am trying to change the file permissions from: -rw-r--r-- to -rw-r-----, so I'm using writeOptions like so:
-rw-r--r--
-rw-r-----
writeOptions
log.transports.file.writeOptions = { flag: "a", mode: 0o640 };
However the file permissions remain unchanged. I am suspecting that I'm not initializing the logger or transport properly.
I've created a Electron Fiddle Gist here: https://gist.github.com/benji/c8d74654cef2876a33414ba467651d01.
Versions:
Thanks for the help!
Thanks for the report and the gist
Hello!
I am trying to change the file permissions from:
-rw-r--r--
to-rw-r-----
, so I'm usingwriteOptions
like so:log.transports.file.writeOptions = { flag: "a", mode: 0o640 };
However the file permissions remain unchanged. I am suspecting that I'm not initializing the logger or transport properly.
I've created a Electron Fiddle Gist here: https://gist.github.com/benji/c8d74654cef2876a33414ba467651d01.
Versions:
Thanks for the help!