You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Yuliya Taskina (JIRA)" <ji...@apache.org> on 2011/08/08 09:53:27 UTC

[jira] [Created] (LOG4J2-47) java.security.AccessControlException: access denied when the rolling file appender needs to switch to a new log file.

java.security.AccessControlException: access denied when the rolling file appender needs to switch to a new log file.
---------------------------------------------------------------------------------------------------------------------

                 Key: LOG4J2-47
                 URL: https://issues.apache.org/jira/browse/LOG4J2-47
             Project: Log4j 2
          Issue Type: Bug
         Environment: OS Windows
            Reporter: Yuliya Taskina


We have experienced several times a AccessControlException from log4j logging methods (i.e. debug, info, warn, etc) when the rolling file appender needs to switch to a new log file.
The problem is that Windows holds a lock on the log file, preventing log4j from renaming it to an archive version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


[jira] [Commented] (LOG4J2-47) java.security.AccessControlException: access denied when the rolling file appender needs to switch to a new log file.

Posted by "Ralph Goers (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4J2-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080966#comment-13080966 ] 

Ralph Goers commented on LOG4J2-47:
-----------------------------------

This is for Log4J 2.0- which is currently in my private, experimental branch?  If this is for Log4J 1.x please close this issue and use the bugzilla system.

> java.security.AccessControlException: access denied when the rolling file appender needs to switch to a new log file.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-47
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-47
>             Project: Log4j 2
>          Issue Type: Bug
>         Environment: OS Windows
>            Reporter: Yuliya Taskina
>
> We have experienced several times a AccessControlException from log4j logging methods (i.e. debug, info, warn, etc) when the rolling file appender needs to switch to a new log file.
> The problem is that Windows holds a lock on the log file, preventing log4j from renaming it to an archive version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


[jira] [Closed] (LOG4J2-47) java.security.AccessControlException: access denied when the rolling file appender needs to switch to a new log file.

Posted by "Yuliya Taskina (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4J2-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuliya Taskina closed LOG4J2-47.
--------------------------------

    Resolution: Won't Fix

> java.security.AccessControlException: access denied when the rolling file appender needs to switch to a new log file.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-47
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-47
>             Project: Log4j 2
>          Issue Type: Bug
>         Environment: OS Windows
>            Reporter: Yuliya Taskina
>
> We have experienced several times a AccessControlException from log4j logging methods (i.e. debug, info, warn, etc) when the rolling file appender needs to switch to a new log file.
> The problem is that Windows holds a lock on the log file, preventing log4j from renaming it to an archive version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org