Return-Path: X-Original-To: apmail-aurora-dev-archive@minotaur.apache.org Delivered-To: apmail-aurora-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F3B618AB6 for ; Wed, 30 Dec 2015 04:47:19 +0000 (UTC) Received: (qmail 99538 invoked by uid 500); 30 Dec 2015 04:47:18 -0000 Delivered-To: apmail-aurora-dev-archive@aurora.apache.org Received: (qmail 99470 invoked by uid 500); 30 Dec 2015 04:47:18 -0000 Mailing-List: contact dev-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list dev@aurora.apache.org Received: (qmail 99459 invoked by uid 99); 30 Dec 2015 04:47:18 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Dec 2015 04:47:18 +0000 Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 8FE3A1A04AC for ; Wed, 30 Dec 2015 04:47:18 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id 18so264925911obc.2 for ; Tue, 29 Dec 2015 20:47:18 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.182.219.227 with SMTP id pr3mr201402obc.87.1451450837825; Tue, 29 Dec 2015 20:47:17 -0800 (PST) Received: by 10.202.218.194 with HTTP; Tue, 29 Dec 2015 20:47:17 -0800 (PST) In-Reply-To: References: Date: Tue, 29 Dec 2015 20:47:17 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PROPOSAL] Use standard logging practices From: Bill Farner To: dev@aurora.apache.org, Jake Farrell Content-Type: multipart/alternative; boundary=089e013a2132990c5e0528163b66 --089e013a2132990c5e0528163b66 Content-Type: text/plain; charset=UTF-8 Aha, good catch. Sounds like log4j takes the cake. On Tue, Dec 29, 2015 at 7:34 PM, Jake Farrell wrote: > Logback can not be used as it is LGPL licensed > > -Jake > > On Tue, Dec 29, 2015 at 7:02 PM, Jeff Schroeder < > jeffschroeder@computer.org> > wrote: > > > Primarily it is faster, uses less memory, and annotates tracebacks with > > package versions. The last one seems like a winner for debugging user > > issues or operationally. > > > > http://logback.qos.ch/reasonsToSwitch.html > > > > I'm not strongly opinionated either way, but it does seem like a better > > log4j. > > > > On Tuesday, December 29, 2015, Bill Farner wrote: > > > > > I don't have a strong opinion about logback vs log4j. Can you > summarize > > > some of the tradeoffs? > > > > > > On Tue, Dec 29, 2015 at 3:52 PM, Jeff Schroeder < > > > jeffschroeder@computer.org > > > > wrote: > > > > > > > What about using logback instead of log4j? It has some interesting > > > benefits > > > > over log4j and we wouldn't be the first large mesos framework to > switch > > > to > > > > it. > > > > > > > > Personally, I'd love to see glog burn and die in a fire. > > > > > > > > On Monday, December 28, 2015, Bill Farner > > > wrote: > > > > > > > > > We're currently using some logging scaffolding carried over from > > > Twitter > > > > > commons. I would like to propose that we dismantle some of this in > > > favor > > > > > of more standard java application logging conventions. > > > > > > > > > > Concretely, i propose we remove the following scheduler command > line > > > > > arguments: > > > > > -logtostderr > > > > > -alsologtostderr > > > > > -vlog > > > > > -vmodule > > > > > -use_glog_formatter > > > > > > > > > > Instead of these, we can allow users to customize logging via > > standard > > > > > java.util.logging inputs (e.g. logging.properties). We could > explore > > > > using > > > > > an alternative to java.util.logging, but i suggest we retain that > > > backend > > > > > for now (since it's what we're currently using). > > > > > > > > > > > > > > > > > -- > > > > Text by Jeff, typos by iPhone > > > > > > > > > > > > > -- > > Text by Jeff, typos by iPhone > > > --089e013a2132990c5e0528163b66--