You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by fr...@apache.org on 2025/03/28 18:42:12 UTC
(logging-log4net) branch Feature/237-RollFile-virtual created (now b7a816f0)
This is an automated email from the ASF dual-hosted git repository.
freeandnil pushed a change to branch Feature/237-RollFile-virtual
in repository https://gitbox.apache.org/repos/asf/logging-log4net.git
at b7a816f0 make RollingFileAppender.RollFile virtual fixes #234
This branch includes the following new commits:
new b7a816f0 make RollingFileAppender.RollFile virtual fixes #234
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(logging-log4net) 01/01: make RollingFileAppender.RollFile virtual fixes #234
Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
freeandnil pushed a commit to branch Feature/237-RollFile-virtual
in repository https://gitbox.apache.org/repos/asf/logging-log4net.git
commit b7a816f0ef9b35978e0a1eb9d32baf275c09b340
Author: Jan Friedrich <fr...@apache.org>
AuthorDate: Fri Mar 28 19:41:39 2025 +0100
make RollingFileAppender.RollFile virtual
fixes #234
---
src/log4net/Appender/RollingFileAppender.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/log4net/Appender/RollingFileAppender.cs b/src/log4net/Appender/RollingFileAppender.cs
index a91b7e27..68578975 100644
--- a/src/log4net/Appender/RollingFileAppender.cs
+++ b/src/log4net/Appender/RollingFileAppender.cs
@@ -1112,7 +1112,7 @@ protected void RollOverTime(bool fileIsOpen)
/// also checks for existence of target file and deletes if it does.
/// </para>
/// </remarks>
- protected void RollFile(string fromFile, string toFile)
+ protected virtual void RollFile(string fromFile, string toFile)
{
if (FileExists(fromFile))
{