smalljunHw opened a new issue, #1283:
URL: https://github.com/apache/logging-log4j2/issues/1283
I use PosixViewAttribute to set file permission
```xml
<DefaultRolloverStrategy max="4">
<PosixViewAttribute basePath="${LOG_HOME}"
filePermissions="r--------">
<IfFileName glob="*.gz" />
</PosixViewAttribute>
</DefaultRolloverStrategy>
```
When I start my project in Windows (like in Intellij IDEA), I got the
following error info.
```bash
main ERROR Null object returned for PosixViewAttribute in
DefaultRolloverStrategy
```
Though it seems that log still functions properly, how can I make the error
info disappear?
BTW: I do know taht PosixViewAttribute should only work on Linux, but I
want to keep the configuartion to be same in both the Windows and Linux.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]