Re: [VOTE] Release Apache Log4net 3.1.0

2025-05-09 Thread Jan Friedrich

Can you cancel and retry?

If that doesn't work, can you create (full) dumps of mstest and 
testexecutionhost with Process Explorer?


https://geek-university.com/create-dump-files/

Regards.

Jan

On 5/9/25 17:17, Gary D. Gregory wrote:

It's STILL running!

✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate 
[13 ms]
   log4net.Tests net8.0 
   Testing (5046.4s)
   log4net.Tests net462 
   Testing (5046.3s)

WDYT?

Gary

On 2025/05/09 14:22:01 "Gary D. Gregory" wrote:

On 2025/05/08 20:58:48 Jan Friedrich wrote:

Hi Gary,

thanks for reporting.
There was a bug in verify-release.ps1 due to changes of the directory
structure inside the zip file.
I've fixed the script and uploaded the new version to svn.

Can you do the following in 3.1.0?

- svn cleanup --remove-unversioned
- svn up
- ./verify-release.ps1


Hi Jan,

The above worked. I'm now building but it's taking a while:

✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestDefaultFileNameIsAGuid 
[6 ms]
✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate 
[13 ms]
   log4net.Tests net8.0 
   Testing (1676.6s)
   log4net.Tests net462 
   Testing (1676.6s)

Should it take this long?

Also, since you've updated the repo, shouldn't this call for a new RC?

Gary




Having a newer dotnet sdk (9 or 10-preview) is no problem.

Thanks.

Jan


On 5/8/25 15:42, Gary D. Gregory wrote:

dotnet test ./src/log4net.sln

MSBUILD : error MSB1009: Project file does not exist.
Switch: ./src/log4net.sln







Re: [VOTE] Release Apache Log4net 3.1.0

2025-05-09 Thread Gary D. Gregory
On 2025/05/08 20:58:48 Jan Friedrich wrote:
> Hi Gary,
> 
> thanks for reporting.
> There was a bug in verify-release.ps1 due to changes of the directory 
> structure inside the zip file.
> I've fixed the script and uploaded the new version to svn.
> 
> Can you do the following in 3.1.0?
> 
> - svn cleanup --remove-unversioned
> - svn up
> - ./verify-release.ps1

Hi Jan,

The above worked. I'm now building but it's taking a while:

✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestDefaultFileNameIsAGuid 
[6 ms]
✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate 
[13 ms]
  log4net.Tests net8.0  
  Testing (1676.6s)
  log4net.Tests net462  
  Testing (1676.6s)

Should it take this long?

Also, since you've updated the repo, shouldn't this call for a new RC?

Gary


> 
> Having a newer dotnet sdk (9 or 10-preview) is no problem.
> 
> Thanks.
> 
> Jan
> 
> 
> On 5/8/25 15:42, Gary D. Gregory wrote:
> > dotnet test ./src/log4net.sln
> MSBUILD : error MSB1009: Project file does not exist.
> Switch: ./src/log4net.sln
> 


Re: [VOTE] Release Apache Log4net 3.1.0

2025-05-09 Thread Gary D. Gregory
I, I killed it:

✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate 
[13 ms]
  log4net.Tests test net462 failed with 6 warning(s) (21589.2s)
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning : log4net:ERROR Failed to create SocketHandler
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning :
  System.Net.Sockets.SocketException (0x80004005): An attempt was made to 
access a socket in a way forbidden by its access permissions
 at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, 
SocketAddress socketAddress)
 at System.Net.Sockets.Socket.Bind(EndPoint localEP)
 at log4net.Appender.TelnetAppender.SocketHandler..ctor(Int32 port) in 
C:\Users\ggregory\rc\log4net-3.1.0\src\src\log4net\Appender\TelnetA
  ppender.cs:line 247
 at log4net.Appender.TelnetAppender.ActivateOptions() in 
C:\Users\ggregory\rc\log4net-3.1.0\src\src\log4net\Appender\TelnetAppender.cs:lin
  e 118
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning : log4net:ERROR Could not create Appender [TelnetAppender] of type 
[log4net.Appender.TelnetAppender]. Reported error follows.
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning :
  System.Net.Sockets.SocketException (0x80004005): An attempt was made to 
access a socket in a way forbidden by its access permissions
 at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, 
SocketAddress socketAddress)
 at System.Net.Sockets.Socket.Bind(EndPoint localEP)
 at log4net.Appender.TelnetAppender.SocketHandler..ctor(Int32 port) in 
C:\Users\ggregory\rc\log4net-3.1.0\src\src\log4net\Appender\TelnetA
  ppender.cs:line 247
 at log4net.Appender.TelnetAppender.ActivateOptions() in 
C:\Users\ggregory\rc\log4net-3.1.0\src\src\log4net\Appender\TelnetAppender.cs:lin
  e 123
 at 
log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(XmlElement 
appenderElement) in C:\Users\ggregory\rc\log4net-3.1.0\
  src\src\log4net\Repository\Hierarchy\XmlHierarchyConfigurator.cs:line 316
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning : log4net:ERROR Appender named [TelnetAppender] not found.
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning MSB5021: Terminating the task executable "dotnet" and its child 
processes because the build was canceled.
  log4net.Tests test net8.0 failed with 6 warning(s) (21589.3s)
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning : log4net:ERROR Failed to create SocketHandler
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning :
  System.Net.Sockets.SocketException (10013): An attempt was made to access 
a socket in a way forbidden by its access permissions.
 at 
System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError
 error, Boolean disconnectOnFailure, String callerN
  ame)
 at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, 
SocketAddress socketAddress)
 at System.Net.Sockets.Socket.Bind(EndPoint localEP)
 at log4net.Appender.TelnetAppender.SocketHandler..ctor(Int32 port) in 
C:\Users\ggregory\rc\log4net-3.1.0\src\src\log4net\Appender\TelnetA
  ppender.cs:line 247
 at log4net.Appender.TelnetAppender.ActivateOptions() in 
C:\Users\ggregory\rc\log4net-3.1.0\src\src\log4net\Appender\TelnetAppender.cs:lin
  e 118
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning : log4net:ERROR Could not create Appender [TelnetAppender] of type 
[log4net.Appender.TelnetAppender]. Reported error follows.
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPlatform.targets(48,5): 
warning :
  System.Net.Sockets.SocketException (10013): An attempt was made to access 
a socket in a way forbidden by its access permissions.
 at 
System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError
 error, Boolean disconnectOnFailure, String callerN
  ame)
 at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, 
SocketAddress socketAddress)
 at System.Net.Sockets.Socket.Bind(EndPoint localEP)
 at log4net.Appender.TelnetAppender.SocketHandler..ctor(Int32 port) in 
C:\Users\ggregory\rc\log4net-3.1.0\src\src\log4net\Appender\TelnetA
  ppender.cs:line 247
 at log4net.Appender.TelnetAppender.ActivateOptions() in 
C:\Users\ggregory\rc\log4net-3.1.0\src\src\log4net\Appender\TelnetAppender.cs:lin
  e 118
 at 
log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(XmlElement 
appenderElement) in C:\Users\ggregory\rc\log4net-3.1.0\
  src\src\log4net\Repository\Hierarchy\XmlHierarchyConfigurator.cs:line 316
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.TestPla

Re: [VOTE] Release Apache Log4net 3.1.0

2025-05-09 Thread Gary D. Gregory
It's STILL running!

✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate 
[13 ms]
  log4net.Tests net8.0  
  Testing (5046.4s)
  log4net.Tests net462  
  Testing (5046.3s)

WDYT?

Gary

On 2025/05/09 14:22:01 "Gary D. Gregory" wrote:
> On 2025/05/08 20:58:48 Jan Friedrich wrote:
> > Hi Gary,
> > 
> > thanks for reporting.
> > There was a bug in verify-release.ps1 due to changes of the directory 
> > structure inside the zip file.
> > I've fixed the script and uploaded the new version to svn.
> > 
> > Can you do the following in 3.1.0?
> > 
> > - svn cleanup --remove-unversioned
> > - svn up
> > - ./verify-release.ps1
> 
> Hi Jan,
> 
> The above worked. I'm now building but it's taking a while:
> 
> ✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestDefaultFileNameIsAGuid 
> [6 ms]
> ✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate 
> [13 ms]
>   log4net.Tests net8.0
> Testing (1676.6s)
>   log4net.Tests net462
> Testing (1676.6s)
> 
> Should it take this long?
> 
> Also, since you've updated the repo, shouldn't this call for a new RC?
> 
> Gary
> 
> 
> > 
> > Having a newer dotnet sdk (9 or 10-preview) is no problem.
> > 
> > Thanks.
> > 
> > Jan
> > 
> > 
> > On 5/8/25 15:42, Gary D. Gregory wrote:
> > > dotnet test ./src/log4net.sln
> > MSBUILD : error MSB1009: Project file does not exist.
> > Switch: ./src/log4net.sln
> > 
> 


Re: [VOTE] Release Apache Log4net 3.1.0

2025-05-09 Thread Jan Friedrich

Hi Gary,

it can also be called testhost.exe:

https://paste.pics/8f19f8442705005a8011d6135010a6a2

Can you find it?

Regards.

Jan

On 5/9/25 22:02, Gary D. Gregory wrote:



On 2025/05/09 18:34:29 Jan Friedrich wrote:

Can you cancel and retry?

If that doesn't work, can you create (full) dumps of mstest and
testexecutionhost with Process Explorer?


I don't see a testexecutionhost.exe or mstest.exe in Process Explorer 17.06.

Could these processes have different names on Windows 10 ([Version 
10.0.19045.5737)?

TY,
Gary



https://geek-university.com/create-dump-files/

Regards.

Jan

On 5/9/25 17:17, Gary D. Gregory wrote:

It's STILL running!

✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate 
[13 ms]
log4net.Tests net8.0
Testing (5046.4s)
log4net.Tests net462
Testing (5046.3s)

WDYT?

Gary

On 2025/05/09 14:22:01 "Gary D. Gregory" wrote:

On 2025/05/08 20:58:48 Jan Friedrich wrote:

Hi Gary,

thanks for reporting.
There was a bug in verify-release.ps1 due to changes of the directory
structure inside the zip file.
I've fixed the script and uploaded the new version to svn.

Can you do the following in 3.1.0?

- svn cleanup --remove-unversioned
- svn up
- ./verify-release.ps1


Hi Jan,

The above worked. I'm now building but it's taking a while:

✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestDefaultFileNameIsAGuid 
[6 ms]
✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate 
[13 ms]
log4net.Tests net8.0
Testing (1676.6s)
log4net.Tests net462
Testing (1676.6s)

Should it take this long?

Also, since you've updated the repo, shouldn't this call for a new RC?

Gary




Having a newer dotnet sdk (9 or 10-preview) is no problem.

Thanks.

Jan


On 5/8/25 15:42, Gary D. Gregory wrote:

dotnet test ./src/log4net.sln

MSBUILD : error MSB1009: Project file does not exist.
Switch: ./src/log4net.sln










Re: [VOTE] Release Apache Log4net 3.1.0

2025-05-09 Thread Gary D. Gregory



On 2025/05/09 18:34:29 Jan Friedrich wrote:
> Can you cancel and retry?
> 
> If that doesn't work, can you create (full) dumps of mstest and 
> testexecutionhost with Process Explorer?

I don't see a testexecutionhost.exe or mstest.exe in Process Explorer 17.06.

Could these processes have different names on Windows 10 ([Version 
10.0.19045.5737)?

TY,
Gary

> 
> https://geek-university.com/create-dump-files/
> 
> Regards.
> 
> Jan
> 
> On 5/9/25 17:17, Gary D. Gregory wrote:
> > It's STILL running!
> > 
> > ✅ 
> > log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate 
> > [13 ms]
> >log4net.Tests net8.0 
> >Testing (5046.4s)
> >log4net.Tests net462 
> >Testing (5046.3s)
> > 
> > WDYT?
> > 
> > Gary
> > 
> > On 2025/05/09 14:22:01 "Gary D. Gregory" wrote:
> >> On 2025/05/08 20:58:48 Jan Friedrich wrote:
> >>> Hi Gary,
> >>>
> >>> thanks for reporting.
> >>> There was a bug in verify-release.ps1 due to changes of the directory
> >>> structure inside the zip file.
> >>> I've fixed the script and uploaded the new version to svn.
> >>>
> >>> Can you do the following in 3.1.0?
> >>>
> >>> - svn cleanup --remove-unversioned
> >>> - svn up
> >>> - ./verify-release.ps1
> >>
> >> Hi Jan,
> >>
> >> The above worked. I'm now building but it's taking a while:
> >>
> >> ✅ 
> >> log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestDefaultFileNameIsAGuid
> >>  [6 ms]
> >> ✅ 
> >> log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate
> >>  [13 ms]
> >>log4net.Tests net8.0
> >> Testing (1676.6s)
> >>log4net.Tests net462
> >> Testing (1676.6s)
> >>
> >> Should it take this long?
> >>
> >> Also, since you've updated the repo, shouldn't this call for a new RC?
> >>
> >> Gary
> >>
> >>
> >>>
> >>> Having a newer dotnet sdk (9 or 10-preview) is no problem.
> >>>
> >>> Thanks.
> >>>
> >>> Jan
> >>>
> >>>
> >>> On 5/8/25 15:42, Gary D. Gregory wrote:
>  dotnet test ./src/log4net.sln
> >>> MSBUILD : error MSB1009: Project file does not exist.
> >>> Switch: ./src/log4net.sln
> >>>
> >>
> 
> 


Re: [VOTE] Release Apache Log4net 3.1.0

2025-05-09 Thread Gary D. Gregory
Hi Jan,

I created https://issues.apache.org/jira/browse/LOG4NET-696 to attach a ZIP of 
the DMP file.

Gary

On 2025/05/09 20:48:45 Jan Friedrich wrote:
> Hi Gary,
> 
> it can also be called testhost.exe:
> 
> https://paste.pics/8f19f8442705005a8011d6135010a6a2
> 
> Can you find it?
> 
> Regards.
> 
> Jan
> 
> On 5/9/25 22:02, Gary D. Gregory wrote:
> > 
> > 
> > On 2025/05/09 18:34:29 Jan Friedrich wrote:
> >> Can you cancel and retry?
> >>
> >> If that doesn't work, can you create (full) dumps of mstest and
> >> testexecutionhost with Process Explorer?
> > 
> > I don't see a testexecutionhost.exe or mstest.exe in Process Explorer 17.06.
> > 
> > Could these processes have different names on Windows 10 ([Version 
> > 10.0.19045.5737)?
> > 
> > TY,
> > Gary
> > 
> >>
> >> https://geek-university.com/create-dump-files/
> >>
> >> Regards.
> >>
> >> Jan
> >>
> >> On 5/9/25 17:17, Gary D. Gregory wrote:
> >>> It's STILL running!
> >>>
> >>> ✅ 
> >>> log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate
> >>>  [13 ms]
> >>> log4net.Tests net8.0  
> >>>   Testing (5046.4s)
> >>> log4net.Tests net462  
> >>>   Testing (5046.3s)
> >>>
> >>> WDYT?
> >>>
> >>> Gary
> >>>
> >>> On 2025/05/09 14:22:01 "Gary D. Gregory" wrote:
>  On 2025/05/08 20:58:48 Jan Friedrich wrote:
> > Hi Gary,
> >
> > thanks for reporting.
> > There was a bug in verify-release.ps1 due to changes of the directory
> > structure inside the zip file.
> > I've fixed the script and uploaded the new version to svn.
> >
> > Can you do the following in 3.1.0?
> >
> > - svn cleanup --remove-unversioned
> > - svn up
> > - ./verify-release.ps1
> 
>  Hi Jan,
> 
>  The above worked. I'm now building but it's taking a while:
> 
>  ✅ 
>  log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestDefaultFileNameIsAGuid
>   [6 ms]
>  ✅ 
>  log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate
>   [13 ms]
>  log4net.Tests net8.0 
> Testing (1676.6s)
>  log4net.Tests net462 
> Testing (1676.6s)
> 
>  Should it take this long?
> 
>  Also, since you've updated the repo, shouldn't this call for a new RC?
> 
>  Gary
> 
> 
> >
> > Having a newer dotnet sdk (9 or 10-preview) is no problem.
> >
> > Thanks.
> >
> > Jan
> >
> >
> > On 5/8/25 15:42, Gary D. Gregory wrote:
> >> dotnet test ./src/log4net.sln
> > MSBUILD : error MSB1009: Project file does not exist.
> > Switch: ./src/log4net.sln
> >
> 
> >>
> >>
> 
> 


Re: [D] log4j-1.2.13.jar substitution in v.2.17.1 [logging-log4j2]

2025-05-09 Thread via GitHub


GitHub user ElaHuskovic68 edited a discussion: log4j-1.2.13.jar substitution in 
v.2.17.1

Inside war file at path /WEB-INF/lib we found log4j-1.2.13 which needs to be 
replaced with log4j-2.17.1.jar. In 
apache-log4j-2.17.1-bin there is no that file. What jar file replaces old one? 
Thanks!


GitHub link: https://github.com/apache/logging-log4j2/discussions/3656


This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org



Re: [D] log4j-1.2.13.jar substitution in v.2.17.1 [logging-log4j2]

2025-05-09 Thread via GitHub


GitHub user ElaHuskovic68 added a comment to the discussion: log4j-1.2.13.jar 
substitution in v.2.17.1

Not in our case. We though just to replace .jar file but no proper match in 
higher version. 

GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3656#discussioncomment-13091702


This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org



Re: [D] log4j-1.2.13.jar substitution in v.2.17.1 [logging-log4j2]

2025-05-09 Thread via GitHub


GitHub user vy added a comment to the discussion: log4j-1.2.13.jar substitution 
in v.2.17.1

@ElaHuskovic68, does the [Migrating from Log4j 
1](https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html) page help?

GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3656#discussioncomment-13091282


This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org



Re: [D] Question about asynchronous writing by log4net [logging-log4net]

2025-05-09 Thread via GitHub


GitHub user FreeAndNil added a comment to the discussion: Question about 
asynchronous writing by log4net

@yktnoriri I've converted you issue into a discussion.

I was able to reproduce your problem once, but only once.

Can you set a breakpoint in 
https://github.com/apache/logging-log4net/blob/172e875622c0d4ba845ad6dace02c001687de96f/src/log4net/Appender/RollingFileAppender.cs#L634
 and add a condition for the "wrong" fileName?

GitHub link: 
https://github.com/apache/logging-log4net/discussions/243#discussioncomment-13085717


This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org