Replies: 6 comments 5 replies
-
@rosennej can you provide a file listing? PS> ls "$($env:LOCALAPPDATA)\QSM Programming Ltd\QCrypto" And provide the full log message?
We need to know which file was tried to rename. |
Beta Was this translation helpful? Give feedback.
-
The file list is:
|
Beta Was this translation helpful? Give feedback.
-
Yes, there is only one application writing logs in this directory.
|
Beta Was this translation helpful? Give feedback.
-
See https://logging.apache.org/log4net/release/config-examples.html
"This example show how to configure the RollingFileAppender to roll log files once per program execution. The appendToFile property is set to false to prevent the appender from overwriting the existing files."
|
Beta Was this translation helpful? Give feedback.
-
It happened again. I suspect it is a problem with Windows or Visual Studio rather than with Log4net. The folder does not get properly released after the program being tested was aborted. The problem goes away after VS is restarted. I have a similar problem of folders not being released with Eclipse and Maven. This is the console:
These are the files:
|
Beta Was this translation helpful? Give feedback.
-
I am running in the debugger.
It happens only after the debugger is aborted.
I suggest this is a Visual Studio or Windows problem, not a log4net problem.
|
Beta Was this translation helpful? Give feedback.
-
I keep getting this error. I am using version 3.0.3 on Windows 11 and .NET 6.
This is the configuration file
Beta Was this translation helpful? Give feedback.
All reactions