Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2AEC610763 for ; Wed, 4 Dec 2013 16:31:44 +0000 (UTC) Received: (qmail 55631 invoked by uid 500); 4 Dec 2013 16:31:38 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 55588 invoked by uid 500); 4 Dec 2013 16:31:38 -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 55565 invoked by uid 99); 4 Dec 2013 16:31:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Dec 2013 16:31:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tomcat.random@gmail.com designates 209.85.214.178 as permitted sender) Received: from [209.85.214.178] (HELO mail-ob0-f178.google.com) (209.85.214.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Dec 2013 16:31:31 +0000 Received: by mail-ob0-f178.google.com with SMTP id uz6so16193329obc.23 for ; Wed, 04 Dec 2013 08:31:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CKxNqhosG/Qv/Z2FlVb8RxmLIVw+SZFrHImEWLAfHP4=; b=DSLPHslQEC7VPFwYFzqUN5qViXHLxnvIjjLijXaqMkqeSK3w11y5qZcwXgy3o78hnQ DVAWOBbB/uXWbrBSmm3uDMJgDUheYP/HX2CqECXzc82CBnRdAIyk8EBIZZNEE6JiKFCY 6U/LgRB+Ims2Kvn/SrE0U+TX2js+w3JRDg+qQr39aVFQTzZZOH+B+6AmOMAG7Fcr5mrw mPdzrk+bz443Ugo3+xkycHIe/a0Wydj1F9826kXSLIxCKKFQ4Z2M94yQ8n7/DGa1bv0O 5RFdxfZi1IW/rplWgDuxfo0mYYqxKXKkwipX6XMJmvE2Pj4TOwzdmDIs71nyNOhe8Ptr T2aw== MIME-Version: 1.0 X-Received: by 10.60.44.239 with SMTP id h15mr64446090oem.22.1386174670366; Wed, 04 Dec 2013 08:31:10 -0800 (PST) Received: by 10.182.213.137 with HTTP; Wed, 4 Dec 2013 08:31:10 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Dec 2013 11:31:10 -0500 Message-ID: Subject: Re: Logging makes a grown man cry From: Tomcat Random To: Tomcat Users List Content-Type: multipart/alternative; boundary=001a11331e1ad302bd04ecb7f066 X-Virus-Checked: Checked by ClamAV on apache.org --001a11331e1ad302bd04ecb7f066 Content-Type: text/plain; charset=ISO-8859-1 I'd argue that dealing with logging configuration is not newbie stuff. This is probably some of the most poorly implemented technology in the servlet container. On Tue, Dec 3, 2013 at 3:44 PM, Konstantin Kolinko wrote: > 2013/12/3 Tomcat Random : > > Environment is RHEL6, Tomcat 7.0.42. There is only one webapp. > > > > I'm trying to implement log4j as per the instructions here (skipping step > > 5): > > http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j > > > > Since I'm not using the Manager, I've removed the relevant logging lines > > from CATALINA_HOME/lib/log4j.properties, so it looks like this: > > > > _____________________________ > > log4j.rootLogger=INFO, CATALINA > > (...) > > > 1., 2. > > Either filter by category names, or bundle its own > classloader-specific Log4J configuration with your own web application > (a WEB-INF/classes/log4j.properties file). > > > Seriously, the Log4J documentation and mailing lists are elsewhere, > http://logging.apache.org/log4j/1.2/mail-lists.html > > I'd be best to ask newbie questions there, even though this mailing > list has a log of knowledgeable people that may occasionally help you. > > > > > 3. Get rid of the empty localhost. file. > > > > The configuration snippet that you provided does not have a "cluster" > appender. Thus it does not matches your list of log files. > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --001a11331e1ad302bd04ecb7f066--