Re: trace( String, Throwable)

2006-09-17 Thread Mansour
4 FATAL 5 Any Idea?? Mansour wrote: I went back yesterday to 1.2, after the shared JVM issue. I didn't test it with trace, yet. I will report again if I find it a problem. Thanx Jacob Kjome wrote: If you are new to Log4j, I would avoid using 1.3alpha. You are welcome t

Re: Logger.getRootLogger() ?? is't static with respect to the JVM ?

2006-09-17 Thread Mansour
them, and restarted my application. Things went fine. I am going to keep on testing, if I find any issues, I will let you know. Mansour wrote: Jacob: Here's what I have, 1- both applications are opend in totally different browsers. 2- in fact both applications are totally different

Re: trace( String, Throwable)

2006-09-17 Thread Mansour
his is a bug, I recommend you report it to Bugzilla. >> >> BTW, what version of Log4j are you using? >> >> Jake >> >> > >> >James Stauffer wrote: >> > >> >> Try changing it to logger.error(msg, exception). If that works then >> >

Re: Logger.getRootLogger() ?? is't static with respect to the JVM ?

2006-09-17 Thread Mansour
Jacob: Here's what I have, 1- both applications are opend in totally different browsers. 2- in fact both applications are totally different, the applets are (Host.java , Controller.java). 3- the last assumption might be true about firefox providing one shared JVM throug the plugin. I will launch

Logger.getRootLogger() ?? is't static with respect to the JVM ?

2006-09-16 Thread Mansour
Hello every body: I am having some difficulties working with log4j, and I need some help from some one. I am writing a client/server application, in some way it can be compared with a chat client, where two or more users connect to the server through an applet. Now the applets uses classes from

Re: trace( String, Throwable)

2006-09-16 Thread Mansour
> >James Stauffer wrote: > >> Try changing it to logger.error(msg, exception). If that works then >> you probably have your config setup incorrectly. I think trace is >> between debug and info so you probably need to lower the level. >> >> On 9/16/06, Ma

Re: trace( String, Throwable)

2006-09-16 Thread Mansour
changing it to logger.error(msg, exception). If that works then you probably have your config setup incorrectly. I think trace is between debug and info so you probably need to lower the level. On 9/16/06, Mansour <[EMAIL PROTECTED]> wrote: Hi everybody: I am tring to use logger.trace(msg, except

trace( String, Throwable)

2006-09-16 Thread Mansour
Hi everybody: I am tring to use logger.trace(msg, exception) but I am getting nothing. Nothing is being logged. I am using in the same way I use logger.info () or logger.debug() . Some thing like this: try{ //do somehting }catch (Exception e) { logger.trace("exception: ",e);} I couldn't fin

Re: How to log JApplet to a JFrame

2006-09-15 Thread Mansour
text.append( String.valueOf( ( char )b ) ); } } } James Stauffer wrote: Write your own appender that passes the messages to the JFrame. On 9/14/06, Mansour <[EMAIL PROTECTED]> wrote: I am writing an applet, and hoping I can find a way to log to a JFrame. My applet con

How to log JApplet to a JFrame

2006-09-13 Thread Mansour
I am writing an applet, and hoping I can find a way to log to a JFrame. My applet consists of many classes. So I 'll have to wrap them in a jar. Is there a direct way to do this ?? - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Logger.getRootLogger() or Logger.getLogger(this.getClass())

2006-09-12 Thread Mansour
s Stauffer wrote: I think you might be getting the class and logger hierarchies confused. sub is not a child of logger (as classes) but the "sub" logger is a child (in the logger hierarchy) of the "logger" logger. On 9/12/06, Mansour <[EMAIL PROTECTED]> wrote: Than

Re: Logger.getRootLogger() or Logger.getLogger(this.getClass())

2006-09-12 Thread Mansour
plain the multiple log entries. Regards, Eelke -Original Message- From: Mansour [mailto:[EMAIL PROTECTED] Sent: dinsdag 12 september 2006 9:02 To: Log4J Users List Subject: Logger.getRootLogger() or Logger.getLogger(this.getClass()) Hi there: I am still new to logging with java. In my pr

Logger.getRootLogger() or Logger.getLogger(this.getClass())

2006-09-12 Thread Mansour
Hi there: I am still new to logging with java. In my project I am using log4j in each class to trace the excution. However, at some points I'n getting the logs twice. I 'll explain what I did. I am using somehting like this in all the classes : Logger logger=Logger.getLogger(this.getClass());

How to include the compiled classes

2006-09-10 Thread Mansour
Hi Every body: I am using log4j to debug application that's intsalled on different systems, and to be distributed and installed on more systems. However, log4j has to be installed in the classpath on all these systems. Therfore I decided to include the classes from log4j.jar into my application

Re: Is't that useless?? may be I don't understand

2006-09-07 Thread Mansour
I miss understood log4j. This paragraphg from the log4j website "With log4j it is possible to enable logging at runtime without modifying the application binary. The log4j package is designed so that these statements can remain in shipped code without incurring a heavy performance cost. Loggi

Re: Is't that useless?? may be I don't understand

2006-09-07 Thread Mansour
ogging system implemented. Bryan -Original Message- From: Mansour [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 1:24 PM To: Log4J Users List Subject: Re: Is't that useless?? may be I don't understand Wooten, Bryan wrote: I usually don't jump into these th

Re: Is't that useless?? may be I don't understand

2006-09-07 Thread Mansour
nd sometimes ineffective. Regardless, using a logging utility like log4j is a very good idea. Good luck and happy programming. Bryan -Original Message- From: Mansour [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 12:46 PM To: Log4J Users List Subject: Re: Is't that useless

Re: Is't that useless?? may be I don't understand

2006-09-07 Thread Mansour
David Tonhofer wrote: Mansour wrote: Hi Everybody: I am writing a java server project and got to the point where the program stops and hangs there with no error it just does nothing. I decided to go ahead and learn how to use log4j, to be able to see what's going on and for my f

Is't that useless?? may be I don't understand

2006-09-07 Thread Mansour
Hi Everybody: I am writing a java server project and got to the point where the program stops and hangs there with no error it just does nothing. I decided to go ahead and learn how to use log4j, to be able to see what's going on and for my future projects. However through all the documentaion