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 2A4EE200B9B for ; Wed, 12 Oct 2016 22:53:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 29242160ACA; Wed, 12 Oct 2016 20:53:31 +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 763A1160AEE for ; Wed, 12 Oct 2016 22:53:30 +0200 (CEST) Received: (qmail 22414 invoked by uid 500); 12 Oct 2016 20:53:29 -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 22399 invoked by uid 99); 12 Oct 2016 20:53:29 -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; Wed, 12 Oct 2016 20:53:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4581FDFE13; Wed, 12 Oct 2016 20:53:29 +0000 (UTC) From: JJoe2 To: log4net-dev@logging.apache.org Reply-To: log4net-dev@logging.apache.org References: In-Reply-To: Subject: [GitHub] log4net issue #25: API to flush appenders that buffer logging data Content-Type: text/plain Message-Id: <20161012205329.4581FDFE13@git1-us-west.apache.org> Date: Wed, 12 Oct 2016 20:53:29 +0000 (UTC) archived-at: Wed, 12 Oct 2016 20:53:31 -0000 Github user JJoe2 commented on the issue: https://github.com/apache/log4net/pull/25 Hi Stefan, Thanks for the feedback. As you’ll have gathered I’m a novice as far as Git and Github are concerned, though slightly less so than I was when I created this patch. I’ll take a look this weekend and try to produce something better that can be merged directly, and separate the patches for the different pull requests (UTC; Flush; …). I suspect the whitespace issues may be caused by different CRLF standards, though I’m surprised the diff utility doesn’t ignore such differences. IIRC Visual Studio popped up a dialog about inconsistent line endings and offered to fix it. If you have any tips on how to handle this I’m all ears, otherwise I’m sure I’ll work it out for myself. The LogManager.Flush() method is implemented as: LoggerManager.GetRepository(Assembly.GetCallingAssembly()).Flush(); How would you propose to implement this if the Flush method was moved out of ILoggerRepository? From: Stefan Bodewig [mailto:notifications@github.com] Sent: 12 October 2016 22:32 To: apache/log4net Cc: JJoe2; Author Subject: Re: [apache/log4net] API to flush appenders that buffer logging data (#25) This PR seems to include #24 as well, could you provide a patch without it? Also, I'm not sure why Flush has been added to ILoggerRepository directly. It would be better if LoggerRepositorySkeleton implemented IFlushable IMHO. The whitespace changes are distracting, it is difficult to see the differences in lots of classes. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. --- 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. ---