Jean-Noel Charpin created LOG4J2-1513:
-----------------------------------------
Summary: Configuration properties file is locked
Key: LOG4J2-1513
URL: https://issues.apache.org/jira/browse/LOG4J2-1513
Project: Log4j 2
Issue Type: Bug
Components: Configurators
Affects Versions: 2.6.2
Reporter: Jean-Noel Charpin
Priority: Minor
Context: on a windows environment within a junit test suite this is not
possible to delete the configuration file on tear down, LogManager.shutdown()
is done.
It works fine for an XMLConfiguration.
"The process cannot access the file because it is being used by another
process."
Could it be related to an unclosed stream on the properties configuration file
? Possibly handled by PropertiesConfigurationFactory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]