Skip to content
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

Refactored the library #21

Merged
merged 12 commits into from Jan 29, 2019

Integration tests should use default app.config file

  • Loading branch information
Jiri Tomek Jiří Tomek
Jiri Tomek authored and Jiří Tomek committed Jan 22, 2019
commit 9086d511aabe5f91476f09a7d0d378f85f3ef570
@@ -45,7 +45,8 @@ public IntegrationTest()
LogglyAppender.SendInterval = TimeSpan.FromMilliseconds(10);

var logRepository = LogManager.GetRepository(Assembly.GetEntryAssembly());
log4net.Config.XmlConfigurator.Configure(logRepository, new FileInfo("app.config"));
var currentFileName = Path.GetFileName(Assembly.GetExecutingAssembly().Location);
log4net.Config.XmlConfigurator.Configure(logRepository, new FileInfo(currentFileName+".config"));

_log = LogManager.GetLogger(GetType());

@@ -4,6 +4,8 @@
<TargetFramework>netcoreapp2.0</TargetFramework>

<IsPackable>false</IsPackable>

<RootNamespace>log4net_loggly.UnitTests</RootNamespace>
</PropertyGroup>

<ItemGroup>
@@ -31,7 +33,7 @@

<ItemGroup>
<None Update="App.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
</ItemGroup>

@@ -3,11 +3,13 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.10
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "log4net-loggly", "log4net-loggly\log4net-loggly.csproj", "{23BE5AFC-9598-4ECB-8B09-06B6D841B36D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "log4net-loggly", "log4net-loggly\log4net-loggly.csproj", "{23BE5AFC-9598-4ECB-8B09-06B6D841B36D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "log4net-loggly.UnitTests", "log4net-loggly.UnitTests\log4net-loggly.UnitTests.csproj", "{24227290-2834-4C4F-A1EA-4E5F2B28C080}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "log4net-loggly.UnitTests", "log4net-loggly.UnitTests\log4net-loggly.UnitTests.csproj", "{24227290-2834-4C4F-A1EA-4E5F2B28C080}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "log4net-loggly-console", "log4net-loggly-console\log4net-loggly-console.csproj", "{D93E92BB-9584-4374-AC06-EEE7C616DC3D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "log4net-loggly-console", "log4net-loggly-console\log4net-loggly-console.csproj", "{D93E92BB-9584-4374-AC06-EEE7C616DC3D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "log4net-loggly-stress-tool", "log4net-loggly-stress-tool\log4net-loggly-stress-tool.csproj", "{DA0CCD2C-C488-4307-AB8F-84823CA46966}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -27,6 +29,10 @@ Global
{D93E92BB-9584-4374-AC06-EEE7C616DC3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D93E92BB-9584-4374-AC06-EEE7C616DC3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D93E92BB-9584-4374-AC06-EEE7C616DC3D}.Release|Any CPU.Build.0 = Release|Any CPU
{DA0CCD2C-C488-4307-AB8F-84823CA46966}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DA0CCD2C-C488-4307-AB8F-84823CA46966}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DA0CCD2C-C488-4307-AB8F-84823CA46966}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DA0CCD2C-C488-4307-AB8F-84823CA46966}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.