You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "smalljunHw (via GitHub)" <gi...@apache.org> on 2023/02/22 07:11:27 UTC

[GitHub] [logging-log4j2] smalljunHw opened a new issue, #1283: Hide PosixViewAttribute related error info in Windows

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: notifications-unsubscribe@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Hide PosixViewAttribute related error info in Windows (logging-log4j2)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1283:
URL: https://github.com/apache/logging-log4j2/issues/1283#issuecomment-2087853786

   This issue is stale because it has been waiting for your feedback for more than 60 days. The Apache Logging Services community values every submitted issue, but without additional information from you, we are unable to provide a solution to your problem.
   Please comment on this issue or it will be closed in 7 days.


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Hide PosixViewAttribute related error info in Windows (logging-log4j2)

Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz commented on issue #1283:
URL: https://github.com/apache/logging-log4j2/issues/1283#issuecomment-1936243610

   @smalljunHw,
   
   Should we replace the `ERROR` message with a more appropriate `WARN` message?


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org