Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@apache.org Received: (qmail 14516 invoked from network); 12 Jun 2002 17:41:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Jun 2002 17:41:56 -0000 Received: (qmail 19907 invoked by uid 97); 12 Jun 2002 17:41:57 -0000 Delivered-To: qmlist-jakarta-archive-log4j-user@jakarta.apache.org Received: (qmail 19890 invoked by uid 97); 12 Jun 2002 17:41:57 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 19878 invoked by uid 98); 12 Jun 2002 17:41:56 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Aaron Hoyt" To: "Log4J Users List" Subject: RE: How to simulate System.out.println() ?? Date: Wed, 12 Jun 2002 12:45:35 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020612161426.93242.qmail@web21302.mail.yahoo.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You will need to extend Level, and you will probably then need to extend Logger. Aaron Hoyt ph: 816.218.2951 VML 250 Richards Rd Suite 255 Kansas City, MO 64116 > -----Original Message----- > From: Bomb Diggy [mailto:techguy_chicago@yahoo.com] > Sent: Wednesday, June 12, 2002 11:14 AM > To: log4j-user@jakarta.apache.org > Subject: How to simulate System.out.println() ?? > > > Hi, > > I've got Log4j(1.2.3) integrated into my code and it's > rockin. But, there are certain statements I want > printed all the time regardless of the > 'Priority/Level' of my logger - kind of like a > System.out.println(). My setup is basic since I'm > still new to Log4j. > > I would like to effectively do the following: > > static Logger logger = Logger.getLogger( My.class ); > logger.fatal("Some message..."); > > I want 'Some message...' logged any time my logger's > Level is fatal or better, but I would like the > Priority/Level logged to be 'INFO' instead of 'FATAL' > b/c it's not an error that I'm printing, it's just > status-type data. > > Thanks. > > -- To unsubscribe, e-mail: For additional commands, e-mail: