Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B94F4E43 for ; Fri, 27 May 2011 15:10:19 +0000 (UTC) Received: (qmail 86460 invoked by uid 500); 27 May 2011 15:10:18 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 86380 invoked by uid 500); 27 May 2011 15:10:18 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 86371 invoked by uid 99); 27 May 2011 15:10:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2011 15:10:18 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2011 15:10:12 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QPyff-00008K-9K for dev@tomcat.apache.org; Fri, 27 May 2011 08:09:51 -0700 Message-ID: <31717311.post@talk.nabble.com> Date: Fri, 27 May 2011 08:09:51 -0700 (PDT) From: Eric Lorson To: dev@tomcat.apache.org Subject: Redirecting Tomcat logs to rsyslog server MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: elorson@planetmuzic.com X-Virus-Checked: Checked by ClamAV on apache.org For internal security reasons I need to prevent our tomcat logs from writing to the webserver local disk. We set up a rsyslog server and want to pipe the log data directly to rsyslog. I am trying to work out how to configure tomcat to send all lpg data to STDOUT or named pipe and have the rsyslog agent send the data to rsyslog on a separate server. We are on CentOS 5.6, Tomcat 6 and rsyslog 5.8.1. I need to know: 1) do we use the default logging library or log4j 2) where is this configured in the tomcat config Thanks, Eric -- View this message in context: http://old.nabble.com/Redirecting-Tomcat-logs-to-rsyslog-server-tp31717311p31717311.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org