Return-Path: Delivered-To: apmail-jakarta-cactus-user-archive@apache.org Received: (qmail 17934 invoked from network); 16 Apr 2002 07:43:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Apr 2002 07:43:58 -0000 Received: (qmail 22590 invoked by uid 97); 16 Apr 2002 07:44:08 -0000 Delivered-To: qmlist-jakarta-archive-cactus-user@jakarta.apache.org Received: (qmail 22440 invoked by uid 97); 16 Apr 2002 07:44:07 -0000 Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Cactus Users List" Reply-To: "Cactus Users List" Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 22424 invoked from network); 16 Apr 2002 07:44:07 -0000 From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: Log4j error Date: Tue, 16 Apr 2002 08:40:20 +0100 Organization: OCTO Technology Message-ID: <003901c1e519$fd896e70$a5c8c8c8@octovma> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_003A_01C1E522.5F4DD670" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_003A_01C1E522.5F4DD670 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Here is an example attached. Thanks -Vincent > -----Original Message----- > From: JP_Menon@apex.soft.net [mailto:JP_Menon@apex.soft.net] > Sent: 07 April 2002 15:47 > To: Cactus Users List > Subject: Log4j error > > > Hi, > > I followed the instructions given in the "how_to_config.html" but still > the > Log4j Errors persists. > [log4j:ERROR No appenders could be found for category] > [log4j:ERROR Please initialize the log4j system properly] > > can somebody pls sent me Log4j property files from the working > environments so that I could cross check the same here. > > thnks > JP.. > > > > > "Vincent > Massol" To: "'Cactus Users List'" > > com> cc: > Subject: RE: Advice needed > 05/04/2002 > 02:48 AM > Please respond > to "Cactus > Users List" > > > > > > > Hi, > > You're probably using Cactus 1.2. In Cactus 1.3 this would not happen as > a root category is defined for Log4j. Anyway, have a look at > http://jakarta.apache.org/cactus/howto_config.html. It should help. In 2 > words, you need to add your category to the log4j configuration file. > > We need to rework Cactus logging as it is a bit of a mess and should > definitely be transparent ! Sorry for that. > > Thanks > -Vincent > > > -----Original Message----- > > From: JP_Menon@apex.soft.net [mailto:JP_Menon@apex.soft.net] > > Sent: 04 April 2002 13:23 > > To: Cactus Users List > > Subject: RE: Advice needed > > > > > > hi, > > I am getting this error while trying to run The testcase from VAJ 4.0 > > > > Is there any special configuration that needs to be done for this.I > have > > added the jars to the Class properties also. > > > > > > log4j:ERROR No appenders could be found for category > > (testcase.TestWebFrontServlet). > > log4j:ERROR Please initialize the log4j system properly. > > > > rgds, > > JP.. > > > > > > -- > > To unsubscribe, e-mail: > unsubscribe@jakarta.apache.org> > > For additional commands, e-mail: > help@jakarta.apache.org> > > > > > > > -- > To unsubscribe, e-mail: < > mailto:cactus-user-unsubscribe@jakarta.apache.org> > For additional commands, e-mail: < > mailto:cactus-user-help@jakarta.apache.org> > > > > > > > -- > To unsubscribe, e-mail: unsubscribe@jakarta.apache.org> > For additional commands, e-mail: help@jakarta.apache.org> > ------=_NextPart_000_003A_01C1E522.5F4DD670 Content-Type: application/octet-stream; name="log_client.properties" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="log_client.properties" # Properties for configuring Log4j # This is the configuring for logging on the JUnit side (i.e. the client = side) log4j.appender.cactus =3D org.apache.log4j.FileAppender log4j.appender.cactus.File =3D cactus_client.log log4j.appender.cactus.Append =3D false log4j.appender.cactus.layout =3D org.apache.log4j.PatternLayout log4j.appender.cactus.layout.ConversionPattern =3D %d{ABSOLUTE} [%t] = %-5p %-30.30c{2} %x - %m %n # Any application log which uses Log4J will be logged to the Cactus log = file log4j.rootCategory=3DDEBUG, cactus # By default we don't log at the DEBUG level for Cactus log, in order = not to generate too # many logs. However, should a problem arise and logs need to be sent to = the Cactus dev team, # then we will ask you to change this to DEBUG. log4j.category.org.apache.cactus =3D WARN, cactus log4j.additivity.org.apache.cactus=3Dfalse ------=_NextPart_000_003A_01C1E522.5F4DD670 Content-Type: application/octet-stream; name="log_server.properties" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="log_server.properties" # Properties for configuring Log4j # This is the configuring for logging on the server side log4j.appender.cactus =3D org.apache.log4j.FileAppender log4j.appender.cactus.File =3D cactus_server.log log4j.appender.cactus.Append =3D false log4j.appender.cactus.layout =3D org.apache.log4j.PatternLayout log4j.appender.cactus.layout.ConversionPattern =3D %d{ABSOLUTE} [%t] = %-5p %-30.30c{2} %x - %m %n # Any application log which uses Log4J will be logged to the Cactus log = file log4j.rootCategory=3DDEBUG, cactus # By default we don't log at the DEBUG level for Cactus log, in order = not to generate too # many logs. However, should a problem arise and logs need to be sent to = the Cactus dev team, # then we will ask you to change this to DEBUG. log4j.category.org.apache.cactus =3D WARN, cactus log4j.additivity.org.apache.cactus=3Dfalse ------=_NextPart_000_003A_01C1E522.5F4DD670 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: ------=_NextPart_000_003A_01C1E522.5F4DD670--