Re: Newbie: Log4j print to console, not to a file.

2004-03-31 Thread Kawthar Bt M Sulaiman
It's working now... thanks. --Kawthar >>> [EMAIL PROTECTED] 31/03/2004 03:11:07 PM >>> Hi, you can try this. Add this line: log4j.logger.ECPA=debug, LOGFILE Kawthar Bt M Sulaiman wrote: > Hello, > > I just started to use Log4j today and I'm still confused after reading > some document on a

Re: ERR/WARN: DOM element, No appenders found, etc.

2004-03-31 Thread ogjunk-log4j
Hello, I have tried that, too, without success: $ ls -al ./log4j.xml -rwxr-xr-x1 otis otis7021 Mar 31 18:00 ./log4j.xml $ java -Dlog4j.configuration=file:./log4j.xml com.example.Foo log4j:ERROR DOM element is - not a element. log4j:WARN No appenders could be found for logger (co

Re: ERR/WARN: DOM element, No appenders found, etc.

2004-03-31 Thread haggaic2v7-loguser
This is a simple mistake I've made many a time before. The value of log4j.configuration needs to be a URL. So the following will work: java -Dlog4j.configuration=file:./log4j.xml -Ian --- [EMAIL PROTECTED] wrote: > Hello, > > According to the Short Manual for Log4J, using log4j.configuration

RE: Static log reading tool...

2004-03-31 Thread Alan Brown
My problem was localized enough that I was able to write a tool to do it in an hour. I plan to make it a bit more generic though when I return from my vacation and I'll be happy to look at integrating my desired functionality in chainsaw if you'd like. alan -Original Message- From: Paul

ERR/WARN: DOM element, No appenders found, etc.

2004-03-31 Thread ogjunk-log4j
Hello, According to the Short Manual for Log4J, using log4j.configuration system property to specify the log4j config file location is the way to go. When I do that: java -Dlog4j.configuration=./log4j.xml com.example.Foo I get: log4j:ERROR DOM element is - not a element. log4j:WARN No appende

how to append spaces in ConversionPattern

2004-03-31 Thread Ashok Kyama
how to enforce spaces in log stmts in ConversionPattern param value ( is there any option to specify like %tab or %space as we do for date %d).

SMTPAppender

2004-03-31 Thread Hu
Hi, I subclass SMTPAppender, and I got the email, some of are fine, but here are two that very strange, I don't know what's going on: FIRST ONE: NYM Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_Part_1_24480816.1080722374112" --=_Part_1_24480816.1080722374112 Cont

SMTPAppender

2004-03-31 Thread Hu
Hi, I subclass SMTPAppender, and I got the email, some of are fine, but here is one that very strange, I don't know what's going on: __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html --

SMTPAppender

2004-03-31 Thread Hu
Hi, I subclass SMTPAppender, and I got the email, some of are fine, but here is one that very strange, I don't know what's going on: __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html --

RE: Multiple configuratorClass on Tomcat

2004-03-31 Thread Shapira, Yoav
Hi, >personal tasks), so I set the following system property : > >-Dlog4j.configuratorClass=mypackage.MyConfigurator This system property will then be set for all the webapps, as they all share the same JVM instance. >Please note I can use a Servlet.init() to configure Log4J because >some l

Multiple configuratorClass on Tomcat

2004-03-31 Thread POIRIER Jérôme (EURIWARE)
Hi, It seems to me that my question is not responded on archives. I have several Web applications into Tomcat 4.1, all of each using Log4J. One of these needs a special configurator class (where I add some personal tasks), so I set the following system property : -Dlog4j.configura

Re: Static log reading tool...

2004-03-31 Thread Tim Williams
Has anybody looked at Hyades from the Eclipse project? I've been checking up on it every couple of months and it is making progress. I will be facing the issue of log file viewing shortly so I have a keen interest in Hyades and Log4J. We use Eclipse (WSAD) for development so it has an inherent a