pavloivasiuta opened a new issue, #282:
URL: https://github.com/apache/logging-log4net/issues/282
**Version:** log4net 3.2.0
**Previous Version:** 2.0.15
**Environment:** Docker containers (Linux-based, .NET 8+)
**Monitoring:** Datadog APM
**Issue Summary**
After upgrading from log4net 2.0.15 to 3.2.0, we're observing frequent
Win32Exception errors in our DataDog traces related to platform detection
attempting to execute the 'getprop' command (Android utility) in non-Android
Linux containers.
> System.ComponentModel.Win32Exception (2): An error occurred trying to
start process 'getprop' with working directory '/app'. No such file or directory
at Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo,
String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean
setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd,
Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at Diagnostics.Process.Start()
at Util.SystemInfo.IsAndroidCore()
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]