Skip to content
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

Hide PosixViewAttribute related error info in Windows #1283

Closed
smalljunHw opened this issue Feb 22, 2023 · 2 comments
Closed

Hide PosixViewAttribute related error info in Windows #1283

smalljunHw opened this issue Feb 22, 2023 · 2 comments
Labels
bug Incorrect, unexpected, or unintended behavior of existing code runtime Specific to the runtime environment Stale

Comments

@smalljunHw
Copy link

I use PosixViewAttribute to set file permission

            <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.

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.

@jvz jvz added the bug Incorrect, unexpected, or unintended behavior of existing code label Mar 5, 2023
@jvz jvz added the runtime Specific to the runtime environment label Oct 15, 2023
@ppkarwasz
Copy link
Contributor

@smalljunHw,

Should we replace the ERROR message with a more appropriate WARN message?

@ppkarwasz ppkarwasz added the waiting-for-user More information is needed from the user label Apr 23, 2024
Copy link

github-actions bot commented May 1, 2024

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.

@github-actions github-actions bot added the Stale label May 1, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
@ppkarwasz ppkarwasz removed the waiting-for-user More information is needed from the user label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect, unexpected, or unintended behavior of existing code runtime Specific to the runtime environment Stale
Projects
None yet
Development

No branches or pull requests

3 participants