Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 51840 invoked from network); 25 Feb 2004 09:25:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Feb 2004 09:25:55 -0000 Received: (qmail 5568 invoked by uid 500); 25 Feb 2004 09:25:10 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 5503 invoked by uid 500); 25 Feb 2004 09:25:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 5486 invoked from network); 25 Feb 2004 09:25:09 -0000 Received: from unknown (HELO web10101.mail.yahoo.com) (216.136.130.51) by daedalus.apache.org with SMTP; 25 Feb 2004 09:25:09 -0000 Message-ID: <20040225092522.1538.qmail@web10101.mail.yahoo.com> Received: from [194.71.243.129] by web10101.mail.yahoo.com via HTTP; Wed, 25 Feb 2004 10:25:22 CET Date: Wed, 25 Feb 2004 10:25:22 +0100 (CET) From: "=?iso-8859-1?q?Erik=20G.=20Dybdahl?=" Reply-To: erik.dybdahl@mokkanetsolutions.com Subject: Hot to get Tomcat 5 to log to catalina.out instead of console? To: tomcat-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N When starting tomcat with the file startup.bat, all output goes to the console (including log4j debug output from my web app) I have to use cygwin, and use sh startup.sh, in order to have it sent to catalina.out. Is this a bug, or a misconfig? I have placed log4j and commons-logging jars in common/lib, and this log4j.properties in common/classes: log4j.rootLogger=INFO, RollFile log4j.appender.RollFile=org.apache.log4j.RollingFileAppender log4j.appender.RollFile.File=/logs/tomcat50.log log4j.appender.RollFile.MaxFileSize=1000KB log4j.appender.RollFile.MaxBackupIndex=4 log4j.appender.RollFile.layout=org.apache.log4j.PatternLayout log4j.appender.RollFile.layout.ConversionPattern=%d %-5p (%F:%L) - %m%n log4j.logger.org.apache.catalina.session.ManagerBase=INFO, RollFile But no matter what I do, debug outputs and stack traces only go to the console. Thanks, erik ______________________________________________________ F� den nye Yahoo! Messenger p� http://no.messenger.yahoo.com/ Nye ikoner og bakgrunner, webkamera med superkvalitet og dobbelt s� morsom --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org