This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes log4j addA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j addA" Watch "log4j addA" New topic
Author

log4j addA

Jeff Gaer
Ranch Hand

Joined: Jun 04, 2001
Posts: 99
I'm getting a null pointer exception when trying to instantiate a FileAppender using log4j 1.2 on windows 2K.

On the line that calls the constructor I get the following stack trace. I've included the code below to show that I verfied the file exists. What Am i doing wrong???



Sun Certified Java Programmer Java 2<P>Jeff Gaer
Jeff Gaer
Ranch Hand

Joined: Jun 04, 2001
Posts: 99
never mind. Someday I will learn to type
logfile != logFile,
sigh
 
 
subject: log4j addA
 
Similar Threads
Log4j
log4j -> fileAppender.getFile() to read unix log dir location
How to use log across objects
issue with logging!!
using log4j in servlets