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 B9902200B21 for ; Fri, 10 Jun 2016 13:03:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B82D5160A38; Fri, 10 Jun 2016 11:03:50 +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 0CF95160A04 for ; Fri, 10 Jun 2016 13:03:49 +0200 (CEST) Received: (qmail 86904 invoked by uid 500); 10 Jun 2016 11:03:49 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 86891 invoked by uid 99); 10 Jun 2016 11:03:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 11:03:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5165FC0DCC for ; Fri, 10 Jun 2016 11:03:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.802 X-Spam-Level: X-Spam-Status: No, score=-0.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZdAyZJuyzhFa for ; Fri, 10 Jun 2016 11:03:44 +0000 (UTC) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 5367C5FAC5 for ; Fri, 10 Jun 2016 11:03:44 +0000 (UTC) Received: by mail-io0-f178.google.com with SMTP id 5so62420995ioy.1 for ; Fri, 10 Jun 2016 04:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=VmVcVmRp/f7oBLnhKdorBeIWHu8n3T9FtPDF/qEKQiQ=; b=eF0M9Sg+/Cl9pmlkYwvgZnkMVPUG5XsDl5oar6q3kdmL9ZMLTGe3yDHChk/LMeJ9Oe 52WzNJHaAg6AYrmgzz75lgYpxDid8RSHYQA+ohalqtGsPkOm13Z+E+N5qD0dxXHcDkd1 zH0ofBpZZR/UydM60bHKS043TPybcuslLQMsIpDBHagSFP2Vuqp3OO0ZGN2gGRi3DYCT LSqBbYvDrNxYclTTk+AjuF55BxQm9Qnr6zcGpNrzcA8KjmGYp8nhOZb1PjzTa5HWAkKm iXSeWELWZ7vD+BGhQ73ExCPJuM1e4njIzNaQh670MZaMW2MTvPbH+Q0nLgEuCw5zjBKT Qb5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=VmVcVmRp/f7oBLnhKdorBeIWHu8n3T9FtPDF/qEKQiQ=; b=dLzLZTUlWoZ63S3N+lWBZPQHDatNjdOXBeuff0os7hwQs2AYawzfuxX61GGlqGMDVg kGlet83GaZDrbvlyGeiO3+gJiP+vXj6U3TJGmdAVqAFvNC7kqALUDidMEvCrRtt7hLJ8 fmd63w1RAWPFBmXyy33Ns6HQVOgIVTFJFgDMkLg8p7qGnFfOm5Dmyx95tTSNHTDFYW0a ukUiwM+u5m/G4XfX9qD7guGlrAMSnPSkjpVtLabRV5IUg3OInElw/Rka+P+2fT7tDPE5 5Z9fHReyguIWMwP9wKJvz7b7PvLlrTIfShHi5K5DM/EiN1qT4Vm5KPY7hTHfa4Q2FiME RuRg== X-Gm-Message-State: ALyK8tIKlchAxzEMscKlUhV00Epa6QdWjP8ma58pjbs9XtN0kiAhnzIQfOAcrGUuSGUWSCF9vysR8VyvDjnyfQ== X-Received: by 10.107.28.14 with SMTP id c14mr2763511ioc.86.1465556617390; Fri, 10 Jun 2016 04:03:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.148.79 with HTTP; Fri, 10 Jun 2016 04:03:36 -0700 (PDT) In-Reply-To: References: <612d408e40bc48ae93dd9d9d3d0099e5@scarlet.be> From: sebb Date: Fri, 10 Jun 2016 12:03:36 +0100 Message-ID: Subject: Re: [crypto] Logging dependency To: Commons Developers List Content-Type: text/plain; charset=UTF-8 archived-at: Fri, 10 Jun 2016 11:03:50 -0000 On 10 June 2016 at 11:55, Torsten Curdt wrote: >> >> But I guarantee that there will be other discussions: >> Wouldn't you add an "error" method to "Console"? >> And there we go again... > > > Not quite the same discussions though. > And I was just saying: it works for me. > > As a side note: I personally think libraries should return errors - not log > them. The error logging should happen in the app - not the library. If you > have to log errors in the framework there is a good chance your API is not > how it should be. +1 Only the app can decide what an error means in the context of the app, so only the app can log a sensible error message. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org