GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SystemInfo.EntryAssemblyLocation writable to adjust location for config-files in unit test projects by FreeAndNil · Pull Request #91 · apache/logging-log4net

Conversation

@FreeAndNil

@FreeAndNil FreeAndNil commented Aug 8, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

We would like to make SystemInfo.EntryAssemblyLocation writable so that we can adjust its value for unit test projects.
.net core sets "testhost.dll" as EntryAssembly.

@fluffynuts Could you please review?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@FreeAndNil
SystemInfo.EntryAssemblyLocation writable to adjust location for conf…
e14be43
…ig-files in unit test projects
@FreeAndNil FreeAndNil mentioned this pull request Aug 19, 2022
Extension point for handling new lines in RemoteSysLogAppender added #93
Merged
fluffynuts
fluffynuts approved these changes Aug 21, 2022
View reviewed changes

@fluffynuts fluffynuts left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine to me, tho I can see an existing issue in the default block - Assembly.GetEntryAssembly() can return null; I'll merge and fix in master

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

FreeAndNil reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@fluffynuts
fluffynuts merged commit fa1b0af into apache:master Aug 21, 2022
@FreeAndNil

FreeAndNil commented Aug 21, 2022

Copy link
Copy Markdown
Contributor Author

Thank you very much.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@fluffynuts

fluffynuts commented Aug 21, 2022

Copy link
Copy Markdown
Contributor

I'm not sure when this will land in a release; I'd like to work around an issue introduced recently which fixes something for pqsql but potentially breaks something for mssql (tho proper config of the latter works around it). Perhaps with that - but I need to set up a proper test scenario first.

FreeAndNil reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@FreeAndNil

FreeAndNil commented Aug 21, 2022

Copy link
Copy Markdown
Contributor Author

No problem. In the meantime I can release a version to our internal Nuget repo.

fluffynuts reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@FreeAndNil
FreeAndNil deleted the Feature/EntryAssemblyLocation branch August 31, 2022 10:54
@smx-smx

smx-smx commented Dec 14, 2022

Copy link
Copy Markdown

Just chiming in to say that this also manifests when hosting .NET in C/C++ (via nethost/fxhost) through my .NET loader (https://github.com/smx-smx/EzDotnet)
If the loaded assembly uses log4net, Logger.Setup will fail and logging will not work at all.

This dirty hack works around it, but it's not portable and it can fail when debugging: https://gist.github.com/smx-smx/dc548226bcae16b57f9e6a44ca9d5f99

So i'm also looking forward to the next release 🙂

FreeAndNil reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@FreeAndNil FreeAndNil added this to the 2.0.16 milestone Mar 5, 2024
@dependabot dependabot Bot mentioned this pull request Aug 4, 2025
Bump Amazon.Lambda.AspNetCoreServer and 31 others exceptionless/Exceptionless.Net#341
Closed
This was referenced Aug 19, 2025
Bump log4net from 2.0.6 to 2.0.17 nguyen365-org/ghas_net#6
Open
Bump log4net to 2.0.17 AEC-Collection/ObjectTK#1
Open
@dependabot dependabot Bot mentioned this pull request Sep 8, 2025
deps: Bump log4net from 2.0.15 to 2.0.17 1-21Ben/ppgsage50-plugin#6
Open
@dependabot dependabot Bot mentioned this pull request Oct 31, 2025
Bump log4net from 2.0.12 to 3.2.0 testing-felickz/vulnerable-dependencies2#1
Open
This was referenced Nov 11, 2025
Bump log4net from 2.0.12 to 3.2.0 zkcilef/vulnerable-dependencies#1
Open
Bump log4net from 2.0.13 to 3.2.0 MjrTom/CastleCore#2
Merged
Bump log4net from 2.0.12 to 3.2.0 testing-zkcilef/vulnerable-dependenciesB#1
Open
Bump log4net from 2.0.12 to 3.2.0 testing-zkcilef/vulnerable-dependenciesC#1
Open
Bump log4net from 2.0.12 to 3.2.0 testing-zkcilef/vulnerable-dependencies#1
Open
@dependabot dependabot Bot mentioned this pull request Dec 18, 2025
Bump log4net from 2.0.12 to 3.2.0 ksenthilraj/vulnerable-dependencies#1
Open
@dependabot dependabot Bot mentioned this pull request Dec 28, 2025
Bump log4net from 2.0.13 to 3.2.0 MjrTom/CastleCore#13
Merged
This was referenced Jan 7, 2026
deps: Bump the all-dependencies group with 8 updates logzio/logzio-dotnet#82
Closed
deps: Bump the all-dependencies group with 8 updates logzio/logzio-dotnet#84
Closed
This was referenced Jan 27, 2026
Bump log4net from 2.0.13 to 3.2.0 MjrTom/CastleCore#23
Merged
deps: Bump the all-dependencies group with 8 updates logzio/logzio-dotnet#85
Closed
This was referenced Feb 3, 2026
deps: Bump the all-dependencies group with 12 updates logzio/logzio-dotnet#86
Closed
deps: Bump the all-dependencies group with 12 updates logzio/logzio-dotnet#87
Merged
Bump log4net from 2.0.12 to 3.2.0 OrgBloch/JohBloch.ConfluentKafka.SchemaRegistryExtClient#5
Merged
Bump log4net from 2.0.12 to 3.2.0 OrgBloch/JohBloch.ConfluentKafka.SchemaRegistryExtClient#14
Merged
@dependabot dependabot Bot mentioned this pull request Aug 4, 2026
Bump log4net from 2.0.8 to 3.3.0 roblevineco/configgen#12
Open
This was referenced Aug 23, 2026
Bump the nuget group with 1 update MAVProxyUser/MissionPlanner-mac-secured#1
Open
Bump log4net from 2.0.10 to 3.3.0 Logta/TRPGSkillBoard#5
Merged
This was referenced Aug 31, 2026
Bump log4net from 2.0.15 to 3.3.0 ralforion/TDSProxy#3
Closed
Bump log4net from 2.0.13 to 3.3.0 RotorsAndCams/RAC-ProTAR-Planner#6
Open
Bump log4net from 2.0.13 to 3.3.0 RotorsAndCams/RAC-VORBasedNavigation#1
Open
@dependabot dependabot Bot mentioned this pull request Sep 8, 2026
Bump log4net from 2.0.8 to 3.3.0 decentralized-threat-intelligence/vulnerable_net_core#2
Open
This was referenced Sep 19, 2026
Bump log4net from 2.0.10 to 3.3.0 mqamarmunir/Interfacing_All_Applications#14
Merged
Bump log4net from 2.0.10 to 3.3.0 mqamarmunir/Interfacing_All_Applications#15
Open
Bump log4net from 2.0.10 to 3.3.0 elvinyao/Topshelf.Abp.Integrations#8
Open
This was referenced Oct 8, 2026
Bump log4net from 2.0.13 to 3.3.0 SBY-TECH/MissionPlanner-gps-config#2
Open
Bump log4net from 2.0.15 to 3.3.0 octgn/OCTGN#2359
Merged
Bump log4net from 2.0.8 to 3.3.0 METACMETAHA/sap-wialon-fleet-audit#15
Closed
Bump log4net from 2.0.8 to 3.3.0 METACMETAHA/sap-wialon-fleet-audit#19
Closed
This was referenced Oct 21, 2026
Bump the nuget group with 2 updates jonathan-vella/ghpc-appmod-eShop#1
Open
Bump log4net from 2.0.8 to 3.3.0 yuu-eguci/MultiLangApp-old#6
Closed
This was referenced Oct 29, 2026
Bump the nuget group with 1 update rjmurillo/ApplicationInsights-dotnet#17
Open
Bump log4net from 2.0.12 to 3.3.0 rsymo/AzureDevOpsDemoGenerator-terminal#21
Merged
Bump log4net from 2.0.8 to 3.5.0 devsecops-lab-luis/demo-ghas-multilenguaje#12
Closed
Bump log4net from 2.0.8 to 3.3.0 stockmansy/NoeSBot#10
Merged
Bump log4net from 2.0.10 to 3.3.0 snuids/nyx_dotnet_skeleton#4
Open
This was referenced Nov 6, 2026
Bump log4net from 2.0.3 to 3.3.0 ICMA-SERVICES/TSS_Ogun#4
Open
Bump log4net from 2.0.14 to 3.3.0 bigtyre-isaac/CameraStream#2
Closed
Bump log4net from 2.0.15 to 3.6.0 sg-scale/NETworkManager--2022.12.20.0#5
Open
This was referenced Nov 13, 2026
Bump log4net from 2.0.8 to 3.6.0 devsecops-lab-luis/demo-ghas-multilenguaje#27
Open
Bump log4net from 2.0.10 to 3.3.0 CoderAllan/CSharpTools#12
Open
Bump log4net from 2.0.12 to 3.3.0 MohsenMohamad/Ecommerce#48
Merged
This was referenced Nov 24, 2026
Bump log4net from 2.0.8 to 3.3.0 Unity-Technologies/logzio-dotnet#2
Open
Bump log4net from 2.0.13 to 3.3.0 Unity-Technologies/CastleCore#1
Open
Bump log4net from 2.0.10 to 3.3.0 Martinii89/Unreal-Library#13
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@fluffynuts fluffynuts fluffynuts approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.0.16

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@FreeAndNil @fluffynuts @smx-smx
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.