Skip to content

Configure log4net from embedded resource log4net.xml in tests #2235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 13, 2020

Conversation

bahusoid
Copy link
Member

@bahusoid bahusoid commented Oct 1, 2019

To use the same configuration from both .NET Core and full .NET Framework

Moved log4net configuration to TestContext to make sure that log4net is properly configured even for tests not based on TestCase and get rid of all additional Configure calls (attribute configuration is also removed as not reliable and not needed anymore)

@bahusoid bahusoid changed the title Tests: Configure log4net from embedded resource log4net.xml Configure log4net from embedded resource log4net.xml in tests Oct 3, 2019
@bahusoid bahusoid changed the title Configure log4net from embedded resource log4net.xml in tests WIP Configure log4net from embedded resource log4net.xml in tests Oct 16, 2019
@bahusoid bahusoid changed the title WIP Configure log4net from embedded resource log4net.xml in tests Configure log4net from embedded resource log4net.xml in tests Oct 17, 2019
@fredericDelaporte fredericDelaporte merged commit 708ae88 into nhibernate:master Apr 13, 2020
georgi-yakimov pushed a commit to georgi-yakimov/nhibernate-core that referenced this pull request Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants