1. Your documentation should state that you at least require log4j.jar
and maybe provide a sample config.
2.  There shouldn't be any issues.

On 7/28/06, Jitendra Kharche <[EMAIL PROTECTED]> wrote:

Thanks James.
Certainly I will not include log4j jar or classes in my jar. Also I will
not include the config file in my jar. But I am worried about the
following two cases which seem to be very common problem (but I have
never came across it)
1. if the user app of my lib is not using log4j
2. if the user app of my lib is using log4j

In both the cases loading the config seems to be a problem.
Please help.

Regards,
Jitendra

-----Original Message-----
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 8:10 PM
To: Log4J Users List
Subject: Re: Using logger in libraries

Use automatic configuration so the the user of the library can change
the configuration and don't include the log4j.jar or classes in your
jar.

On 7/28/06, Jitendra Kharche <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am writing a library and want to know any practice followed to use
> logger in a library.
> Thanks in advance.
>
> Regards,
> Jitendra
>
>


--
James Stauffer
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
James Stauffer
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]

Reply via email to