Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 34786 invoked from network); 16 Oct 2008 14:40:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 14:40:21 -0000 Received: (qmail 52993 invoked by uid 500); 16 Oct 2008 14:40:11 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 52704 invoked by uid 500); 16 Oct 2008 14:40:10 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 52693 invoked by uid 99); 16 Oct 2008 14:40:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 07:40:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rosenberg.leon@googlemail.com designates 209.85.217.10 as permitted sender) Received: from [209.85.217.10] (HELO mail-gx0-f10.google.com) (209.85.217.10) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 14:39:00 +0000 Received: by gxk3 with SMTP id 3so9240132gxk.0 for ; Thu, 16 Oct 2008 07:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=cIil/q6wCX9x4kH9inOta57ZT2G4o1Tld+7AbJX0wMI=; b=BQ3tAG1lw9xajiMjSEVhtFE2ECqzxUEIX0U+irGXnlkgcxwlnl4wn1x0OJzjgAxusT G6C77a+snB7OsD+yzeWgOOOj65O60hXxc6DkmGLvFsd4mFlMRBULzJxbPeJgc/zTLWt2 jGuDpvD4oieGMv+pVf1RFgyenIb/ec2ZjYAt8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ch3AB7cnorffZWKvdHDzBWPdqv9feKz8/65ft1cukCH00AJODeXrC9K6ifekRmU3mG ThpoBx01Dkgy0gozzFMg8rJ65DEF5LYvFSBFQ684pRVl6oDOlvdFxmzvpvm3NODxwLPs UpHyrsGtLTiEscK7MGnKr70KpbIaXsTXQ7+Kk= Received: by 10.151.143.3 with SMTP id v3mr3908769ybn.159.1224167976081; Thu, 16 Oct 2008 07:39:36 -0700 (PDT) Received: by 10.150.220.10 with HTTP; Thu, 16 Oct 2008 07:39:36 -0700 (PDT) Message-ID: <327858f40810160739g74079b19qebbaff6a4c69d54e@mail.gmail.com> Date: Thu, 16 Oct 2008 16:39:36 +0200 From: "Leon Rosenberg" To: "Tomcat Users List" Subject: Re: Appeal to Tomcat developers In-Reply-To: <48F744D4.5060303@ice-sa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <48F6EC06.8010403@ice-sa.com> <6715CF65287F8F408DA109EC03AC6C0D3E75D461B1@puma.melandra.net> <48F7382E.5040503@verizon.net> <327858f40810160555g2708e633y5266bda755e25716@mail.gmail.com> <48F744D4.5060303@ice-sa.com> X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Oct 16, 2008 at 3:42 PM, Andr=E9 Warnier wrote: > Leon Rosenberg wrote: > [...] >> >> I am sorry, but do you always log to system.out in your applications? >> Maybe you should take a look at some of numerous logging projects, >> starting with >> log4j as the most prominent. >> >> http://logging.apache.org/log4j/1.2/index.html >> > > With utmost respect, Leon, but this is Off-Topic. > (and even more so is you next post) yes, it is, it was a reply to an off-topic post by david :-) but it's still OT, so please accept my apologies. > > In my original post (and I apologise if this was not clear enough), I am > specifically trying to speak for the sysadmin / average Tomcat user, and > appealing to experts (such as you probably), to help make it simpler for > these people to use and configure Tomcat. Please. well our (100 employees company with about 20 tomcats in production environment and many thousands of users online just as we speak) admins are well able to configure tomcat logging as they wish (mainly by using log4j configs we (developers) create and redirecting them to the syslog (an appender in log4j writing to syslog). They are no java experts and actually have no java or development background, but with some time invested in googling or asking people on lists / irc, they manage their tasks. > > I have no doubt that for experts, the logging as it is now is probably > clear, effective, efficient, flexible and everything you would ask for. > > log4j is a beautiful package, but it is a monster, requiring deep Java > knowledge, and even so, many hours of dedicated work to dominate. > From the look of it, Commons Logging is a similar piece of cake. not really. you need about 15 minutes to start using log4j. Of course deep understanding and tuned configuration will require more time. > > No doubt that for someone who mainly does Java programming for a living, = it > is worth the effort. > But many (the majority ?) of Tomcat users and administrators do not have > that time, at least not for that package alone, when they simultaneously > have to learn a little bit of many other packages. > That does not mean that they don't like Tomcat, at least not yet. > > Or else, shall we say up front that Tomcat is a development tool, to be u= sed > exclusively by Java and Tomcat programming specialists, and not in > production environments ? I would doubt that the majority of tomcat users (i.e. java developers) can't use logging. Its one of the first thing you need to learn on the way to become professional java developer. As for administrators, they (at least those who understand their profession) are used to read docs and tomcat logging is well documented. Besides, why would they be interested in tomcat logs, it just works and ogs are empty in production environment (at least they should be :-))) regards Leon P.S. the time you invested in this thread would probably be sufficient to learn to use log4j ;-) --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org