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 E7546200C0F for ; Thu, 2 Feb 2017 07:29:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E5F74160B57; Thu, 2 Feb 2017 06:29:59 +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 3A763160B54 for ; Thu, 2 Feb 2017 07:29:59 +0100 (CET) Received: (qmail 72349 invoked by uid 500); 2 Feb 2017 06:29:58 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 72333 invoked by uid 99); 2 Feb 2017 06:29:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2017 06:29:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DDAEF18C37F for ; Thu, 2 Feb 2017 06:29:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id N-jkX6py8YMx for ; Thu, 2 Feb 2017 06:29:55 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 129C85F177 for ; Thu, 2 Feb 2017 06:29:55 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id z134so3231201lff.3 for ; Wed, 01 Feb 2017 22:29:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=P2mfaBQ/RWlhH9bc1XplSyy+wLBNqp1J4JWpykkb5lk=; b=qPjoGCyP91KSvIq7IBoQL7VdxWOPoAe0skVHh8r7Vkr16vLInTG5IUq+ATSM2pInD8 xBq1ve3vl4c3dCZM5JspnPVTuVtPqkfJ1i3DNuHxWlBIL4lMEXNRss7EO5ObL9Ay1dSS JUtOIETKcbsfnkcRHsd2mC9jE7na3TOhwa8nH7Ua6rzUmARhL/DG6qMMzjOYWzegqEcc FIo22MPbvK1hFEXkgN63yc2MyZZ79ivwr5FSOYusSQzsYFTd5/yso2G3HnriWcbIjvHr 75sVxpnXhfP5UOSeeEtF6aIm2D8l+Vidl+M1RiHlhBf+1rsjlisE5zAD63m70j1YLXqW nK4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=P2mfaBQ/RWlhH9bc1XplSyy+wLBNqp1J4JWpykkb5lk=; b=ICU9YJmfTUo/zOz7AfwxHErsSfGs/Thpm6zOs/PZFOIqtpAiYyjhbzEra40XVkRkZS bgMLZHuP+QpnZ9YcZs6xBnQwT49J/RnBq6r659Uh5stcWDanqqBUE83DkjKeb+GOVnEK yNSs5/Ob8Ks0hWaKwZ0G9YFM/CnHC56t3YgQcqREWOXsi9kL4S/Po4xArLJUyK/lxJ/V lghTpTEcUUpeNcYWuWaBP/Ds0CLAHIB9NLgIklJ/f6hhaGkNPbRGR93b5KzPa6PSX8Xw Sl6B7YG98SW0AxFouG18Djy/UUV/ijXL9X2y4zy8d9pu460GXoVyjJjTY/dPE+tMDDi+ lI0w== X-Gm-Message-State: AIkVDXKa2LyzyT/JyNqXPgauVfcH3LTMQAjCaANXaW3LRLdHCul2Umeb7zVVfzozp+vO0tUuV2IXrVFQY+cgzQ== X-Received: by 10.46.75.25 with SMTP id y25mr2806354lja.45.1486016993524; Wed, 01 Feb 2017 22:29:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.228.6 with HTTP; Wed, 1 Feb 2017 22:29:52 -0800 (PST) From: Matt Sicker Date: Thu, 2 Feb 2017 00:29:52 -0600 Message-ID: Subject: Opinions or guidelines on what each logging level is for? To: Log4J Developers List Content-Type: multipart/alternative; boundary=f403045e9da80784140547864be4 archived-at: Thu, 02 Feb 2017 06:30:00 -0000 --f403045e9da80784140547864be4 Content-Type: text/plain; charset=UTF-8 I had a meeting at work recently where a small debate was brought up as to what sorts of things to log at each logging level. I had my own opinion about it, of course, but I noticed that there are brief notes in the javadocs about each level (going back in the git logs, it look like Ralph wrote those notes almost 6 years ago!) and that's about it when it comes to any sort of specifics. Does anyone have some more elaborations on why you'd use each level? Or some more concrete differences between, for example, error/warn and debug/trace? Perhaps some examples reflecting how you've used it in the past or even custom logging levels you've added? In a related idea, I'm kind of thinking that a general page about logging concepts may be useful for the manual, so I'd like to gather some opinions on said topics first. -- Matt Sicker --f403045e9da80784140547864be4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I had a meeting at work recently where a small debate was = brought up as to what sorts of things to log at each logging level. I had m= y own opinion about it, of course, but I noticed that there are brief notes= in the javadocs about each level (going back in the git logs, it look like= Ralph wrote those notes almost 6 years ago!) and that's about it when = it comes to any sort of specifics.

Does anyone have some= more elaborations on why you'd use each level? Or some more concrete d= ifferences between, for example, error/warn and debug/trace? Perhaps some e= xamples reflecting how you've used it in the past or even custom loggin= g levels you've added?

In a related idea, I= 9;m kind of thinking that a general page about logging concepts may be usef= ul for the manual, so I'd like to gather some opinions on said topics f= irst.

--
Matt Sicker <boards@gmail.com>
--f403045e9da80784140547864be4--