It appears you want to use log4j in a jar that runs in a bigger program. Your classes should use Loggers like normal but not configure log4j. Assuming the bigger program doesn't use lo4j you should configure log4j by including a log4j.xml file in the classpath (not in your jar) when you start the bigger program.
On 10/5/06, Tyler Cvetan <[EMAIL PROTECTED]> wrote:
I need some help, if this is possible, to get logs created inside of a JAR file. I have a JAR file that I am using as an image plug-in that has a bunch of calls to create logs for some debugging. But I am not sure how to get this to post to a log file, from a JAR? Any help would be great. Thanks, Tyler Cvetan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- James Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]