Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 253EE200B75 for ; Sun, 21 Aug 2016 03:00:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 238EF160ABE; Sun, 21 Aug 2016 01:00:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 654E2160ABB for ; Sun, 21 Aug 2016 03:00:32 +0200 (CEST) Received: (qmail 78527 invoked by uid 500); 21 Aug 2016 01:00:31 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" List-Id: Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 78517 invoked by uid 99); 21 Aug 2016 01:00:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Aug 2016 01:00:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 53146E025B; Sun, 21 Aug 2016 01:00:31 +0000 (UTC) From: jasonwilliams200OK To: log4net-dev@logging.apache.org Reply-To: log4net-dev@logging.apache.org Message-ID: Subject: [GitHub] log4net pull request #32: Implement log4net.Extensions.Logging extension for... Content-Type: text/plain Date: Sun, 21 Aug 2016 01:00:31 +0000 (UTC) archived-at: Sun, 21 Aug 2016 01:00:33 -0000 GitHub user jasonwilliams200OK opened a pull request: https://github.com/apache/log4net/pull/32 Implement log4net.Extensions.Logging extension for aspnet core ### Add extension source project - 1ff39f9 Created extension package at: `extensions/log4net.Extensions.Logging/log4net.Extensions.Logging` Note that for the moment until log4net v3 is released (with .NET Core support), we have `"log4net": { "target": "project" },` in project.json. After that this will be changed to `"log4net": "3.0.0",` or `"log4net": "3.0.0-*",` (if some preview is released before the v3 RTM). ### Add test web app for asp extension - 11a0ec1 Added test project (web app) at: `extensions/log4net.Extensions.Logging/log4net.Extensions.Logging.Test` The test web app was simply created by `dotnet new -t web` with addition of `"log4net.Extensions.Logging": { "target": "project" }` in project.json, then extension usage in `Startup.cs` and a sample log4net settings file at `Settings/logconfig.xml`. To build and run test web app: ```sh # this script works in Unix shell or Windows PowerShell # for Windows Command Prompt use backslashes in `cd` command git clone https://github.com/jasonwilliams200OK/log4net --single-branch -b feature/asp-logging-extension cd log4net # restore package dotnet restore # build dependencies, web app and run the web app cd extensions/log4net.Extensions.Logging/log4net.Extensions.Logging.Test dotnet run ``` Then open localhost:5000 in the browser and logs should appear in the console. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jasonwilliams200OK/log4net feature/asp-logging-extension Alternatively you can review and apply these changes as the patch at: https://github.com/apache/log4net/pull/32.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #32 ---- commit 1ff39f995031ff39bf0f3797a4f3e2040ad2b1bb Author: Peter Jas Date: 2016-08-21T00:14:53Z Add extension source project commit 11a0ec15a9c578587314d508adc4d062d6a9c001 Author: Peter Jas Date: 2016-08-21T00:51:56Z Add test web app for asp extension ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---