Mailing List
Home
Forum Home
Maven - Project building tool
Axis - Java SOAP implementation
Lucene - Full-featured text search engine APIs
Cocoon - MVC web framework based on XML/XSL
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
Log4J - A log library
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database error code ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Subject: Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Proposal: Adding jar manifest classpath in jar and war plugins
Servlet File Download dialog problem (IE6,Adobe 6 0)
java security AccessControlException: access denied (java io FilePermission
Unsupported major minor version 48 0 problem while running the an
   telope task
Subject: axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
Classpath problem
jsp data into Excel
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
Subject: InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Subject: AXIS: tomcat timeout ?
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
XDoclet, Struts and Maven: Where to start? SOLUTION
Subject: Running junit tests fails
 
Log4J
Page 105 of 122 Previous 100   Previous 10   101   102   103   104   105   106   107   108   109   110   Next 10  

RE: I cannot figure out where my extra message line comes from
   onthe console

> Okay -- so my next question is -- what 's the easiest way to get my > program to ignore that log4j.properties file? (I don 't really want > to use my own file -- I just want to configure it in

I cannot figure out where my extra message line comes from onthe console

Hi -- I removed my ConsoleAppender and just call BasicConfigurator() with no parameters and I STILL get that extra line. Here 's the code import org.apache.log4j.* public class MyApp {

RE: I cannot figure out where my extra message line comes from on
    the console

Paul - Are you sure about that? I thought that only happened with BasicConfigurator.configure() (no params). /** Add <code >appender </code > to the root category. @(protected) appender T

Re: I cannot figure out where my extra message line comes from on
   the console

The BasicConfigurator already creates and configures a ConsoleAppender automatically so the other one that you are adding is doubling up. (The output with the time is your appender is your one I th

I cannot figure out where my extra message line comes from on the console

Hi all-- (I 'm a new user so please forgive). Here 's my simple program

Short manual question re: Loggers may be assigned levels...

In the paragraph beginning 'Loggers may be assigned levels. ' it goes on to say 'Although we do not encourage you to do so you may define your own levels by sub-classing the Level class. A perha

Newbie question on setting different levels

I 've been reading through documentation on log4j and thought I understood how everything works. But there is something I 'm missing. Since several of the Jakarta libraries seem to log to the roo

Using "<level> " (was: Re: Re: Appender logging to 2 logs - how to

Thank you Jacob/Jake this helped a lot. Otis

How to get NewLines in Email Text ?

Hi I need to send formatted message in email. I am using SMTPAppender and using System.getProperty( "line.seperator ") to get newline characters. However the email text does not contain newline

Re: How do I do to change the properties
   fileforlog4jintoanother directory?

Thanks Jake. > > > hoju@(protected) 08/Nov/2003 01 21 31 am > > > getting resources from WEB-INF is specific to a servlet application. If you need to get the config file from both places then put

caching...

I 'd like to only log debugging messages if a warning or error occurs shortly afterwards. In the past I 've written my own logging systems that have cached messages and then logged the last x debug m

Re: Using " <level > " (was: Re: Re: Appender logging to 2 logs -
how to stop it

At 08 40 AM 11/10/2003 -0500 you wrote >Hello > >One more question about the use of " <level > " element. >What is its parent element? <logger > or <root > (which is the root <logger >) >Also

Having mixed loggers in log4j.xml ?

Hi Can we have a mixture of loggers in log4j.xml file ? Some of the loggers are actual classes in the application a.b.c.Test.class <logger name "a.b.c.Test " > ... </logger > whi

Using " <level > " (was: Re: Re: Appender logging to 2 logs - how to stop it)

Hello One more question about the use of " <level > " element. What is its parent element? Also I thought that one controls the level at which logging should start by using <appender > 's <param >

automatic reload

I know there is a parameter which can be used to specifiy that log4j must reload a configuration file (checking every so often). But I prefer autoconfiguration. AFAIK it is not possible to set aut

Appender logging to 2 logs - how to stop it

Hello I am using log4j 1.2.8 (under JBoss). I 'm having a problem with one of my Appenders logging to multiple log files even though I didn 't configure it to do this. Here is how I configure

Re: How do I do to change the properties file
forlog4jintoanother directory?

getting resources from WEB-INF is specific to a servlet application. If you need to get the config file from both places then put your config file back into WEB-INF/classes/config. At that po

AW: LogLog messages before configuring log4j

Hi You have to add java environment log4j.debug true (-Dlog4j.debug true) in server 's jvm settings. Hope it helps Liviu -----Urspr?ngliche Nachricht----- Von Andreas Bothner [ MTN - Inno

LogLog messages before configuring log4j

Hi I am using LogLog to debug a startup class for weblogic in which I want to set the RepositorySelector but the LogLog messages are not being displayed in stdout.... I am not using a logger

Re: How do I do to change the properties file forlog4jintoanother
directory

Jake Using your suggestion I have able to make my Log4j servlet reading the correct properties in /WEB-INF/config dir. I know this is a bit out of track but in another java bean file I am

Re: How do I do to change the properties file for
log4jintoanother directory?

It would help if you actually obtained your servlet context. Right now it is null. ServletContext context this.getServletContext() Jake At 10 47 AM 11/7/2003 +1100 you wrote >Jake

Re: How do I do to change the properties file for log4jintoanother
director

Jake Thank you for your time. I have made the changes to the code as you have suggested. It compiled without problem. However it does not seems to initiate the Log4j Tag Library. Have I missed

Re: How do I do to change the properties file for log4j
intoanother directory

You need to look at my code closer. "context " is a ServletContext. You can use it to access stuff anywhere in the webapp. URL url context.getResource( "/WEB-INF/config/log4j.properties ") P

Re: How do I do to change the properties file for log4j
   intoanother directory?

Jake Putting the properties file under /web-inf/config is what I really wanted to achieve but I am not be able to make it work. I uses the following to initialised the log4j package.

Subject: Logging to an Oracle DB

I am a new log4jj user. As part of a Proof of Concept I am trying to log a simple message to an Oracle 9is Database. Due to my inexperience and lack of documentation here is the only example I fo

Re: Using log(fqcn,level, message, throwable): how is fqcn
displayed in the f

Hello Francis The fqcn parameter is only used to correctly extract caller 's location information (class name file name line number). The fqcn parameter is not displayed. HTH. At 03 24

Using log(fqcn,level, message, throwable): how is fqcn displayed in the formatte

If I use log(fqcn level message throwable) to generate a log event which % parameter do I use to display the fqcn in my formatted logging event? No matter what I pass as fqcn it appear to dis

Re: Problem with logging separation between webapps and
container

I 'd listen to Yoav here and keep your libs with each app. However I 'm wondering why this isn 't working for you. What does your repository selector use to distinguish different logger reposito

Re: How do I do to change the properties file for log4j into
another director

At 11 29 AM 11/5/2003 +1100 you wrote >I am using the Log Tag Library 1.0 from Jakarta Project. > >In the Installation document it suggest that in order to initialize >Log4j automatically the

Subject: logging to 2 destinations

1. how can the same log output be sent to two syslogs and a file? 2. I am running JUnit and my Application. They both use log4j Just running the application all is logged in the expected file
Page 105 of 122 Previous 100   Previous 10   101   102   103   104   105   106   107   108   109   110   Next 10