Re: Using Log4j inside of JAR files

2006-10-05 Thread James Stauffer
It should still be fine. The only difference is that the bigger program may configure log4j so you would have to work with that. On 10/5/06, Tyler Cvetan <[EMAIL PROTECTED]> wrote: The bigger program acutally does use log4j, is this possible and/or would I need to configure this differently? J

Re: Using Log4j inside of JAR files

2006-10-05 Thread Tyler Cvetan
The bigger program acutally does use log4j, is this possible and/or would I need to configure this differently? James Stauffer wrote: 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 big

Re: Using Log4j inside of JAR files

2006-10-05 Thread James Stauffer
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 th

Re: Doubt in Log4j

2006-10-05 Thread David Tonhofer
..even more important do not have an appender on the root log hierarchy but assign file appender to the four nodes you have defined. See http://logging.apache.org/log4j/docs/manual.html under 'appender & layouts' James Stauffer wrote: Just name the logger after the concrete class name. It wo

Using Log4j inside of JAR files

2006-10-05 Thread Tyler Cvetan
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.

Re: Doubt in Log4j

2006-10-05 Thread James Stauffer
Just name the logger after the concrete class name. It would actually be more work to use an interface name. On 10/5/06, sudhakardvvn <[EMAIL PROTECTED]> wrote: Hi, In my project we are using log4j for logging purpose. In my project there is a interface with the name DC. But there will be diff

async logging to database

2006-10-05 Thread Harinath Mallepally
Hi all, What are the steps that are needed to execute logging into a database table as part of async logging? Does the DB TABLE need to be created with specific type columns or even column names to be hardcoded? Can you please let me know the pointers to this? -Harinath ***

http requests for nonexistent *BeanInfo.classes

2006-10-05 Thread shashidhar.vutukuru
Hi All, I see the following errors in the error.log file. Not really sure of why these occurring.I am using log4j in my application I get the following error in the logs. [error] [client] File does not exist: /tomcat/webapps/ROOT/com/common/LogEntryBeanInfo.class [error] [client ] File does n