From what you describe, it sounds like you have all the ingredients
already in place. :-)
Modify your existing servlet to configure log4j as follows:
Properties props = new Properties();
// add the REL_PATH property with value of relative path
props.put("REL_PATH", this.getRelativePath());
//
Hello,
I've spent several hours trying to figure this out with no luck. I need
to be able read a log file for a web application. I don't have access to
the files in production so I've written a servlet that allows me to set
logging levels as well as read the log file. The problem is I need to
use
Hi
I wrote a WriterAppender a while ago that uses ANSI colors.
It's like a ConsoleAppender, using ANSI colors.
See the full article here
http://www.jroller.com/page/Trecollo/20041013
Nicolas Martignole
2005/8/20, Curt Arnold <[EMAIL PROTECTED]>:
>
> On Aug 17, 2005, at 4:24 PM, Yixing Ma wrot