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

Upgrade/net.standard.2.0 #11

Merged
merged 5 commits into from Apr 13, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Make sure all tests are passing and it works

  • Loading branch information
SwankMotionPictures committed Aug 28, 2017
commit ec4e1b15a5c79ef74a3cadc775a02058e3bc926d
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net>
<root>
<level value="ALL" />
<appender-ref ref="LogglyAppender" />
<appender-ref ref="ConsoleAppender" />
</root>
<appender name="LogglyAppender" type="log4net.loggly.LogglyAppender, log4net-loggly">
<rootUrl value="http://logs-01.loggly.com/" />
<rootUrl value="https://logs-01.loggly.com/" />
<inputKey value="customer-token" />
<tag value="log4net-test" />
<logicalThreadContextKeys value="LogicalThread1,InnerLogicalThreadContext" />
@@ -21,7 +21,7 @@
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC1}] - %message%newline" />
</layout>
</appender>
</log4net>
</log4net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
@@ -1,5 +1,7 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading;
using log4net;
using log4net.Core;
@@ -25,7 +27,8 @@ static void Main(string[] argArray)
{
GlobalContext.Properties["GlobalContextPropertySample"] = new GlobalContextTest();

log4net.Config.XmlConfigurator.Configure();
var logRepository = LogManager.GetRepository(Assembly.GetEntryAssembly());
log4net.Config.XmlConfigurator.Configure(logRepository,new FileInfo("app.config"));

var log = LogManager.GetLogger(typeof(Program));

@@ -9,4 +9,8 @@
<PackageReference Include="log4net" Version="2.0.8" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\log4net-loggly\log4net-loggly.csproj" />
</ItemGroup>

</Project>
@@ -7,7 +7,7 @@ namespace log4net.loggly
using System.Dynamic;
using System.Linq;
using System.Text;
using log4net.Core;
using Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<DebugType>full</DebugType>
<TargetFrameworks>netcoreapp2.0;net452</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>7.2.3</Version>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.