the desired size is below 100kb.
We like to make some plugin for eclipse wich can produce some debug/ warning/error output. The complete Code for the plugin fits into some kb, but log4j blows it up. I have startet with importing only Logger.java and working trough the dependencies to get a complete package. in the end i got 143kb for a complete working jar without some appenders (dbi,jmx...). But this methode is to difficult to maintain.


Am 14.12.2005 um 18:49 schrieb Scott Deboy:

log4j 1.3 alpha breaks up what was previously just one jar into a number of jars.

Current log4j 1.3 jar itself is 330K, and includes:
config
filter
helpers
html
joran
net
or
pattern
plugins
rolling
rule
scheduler
spi
varia
xml

A number of these could be moved into the log4j-optional jar instead, to get the size down further.



-----Original Message-----
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Wed 12/14/2005 9:48 AM
To: Log4J Users List
Subject: Re: stripping log4j

Here are the sizes (in KB) of the directories under org.apache.log4j
(from 1.2.8):
58      chainsaw
17      config
75      helpers
5       jdbc
36      jmx
243     lf5
57      net
4       nt
11      or
24      spi
20      varia
32      xml

You could probably remove chainsaw, jdbc, jmx, and lf5.  That would
drop the size to 170KB.

On 12/14/05, James Stauffer <[EMAIL PROTECTED]> wrote:
Can you list what parts of log4j you want to use and how small you want it?

On 12/13/05, Dennis Keßler <[EMAIL PROTECTED]> wrote:
Hi,
we need a much smaller version of log4j because of the package size
we plan to distribute.
What is the absolute necessary  core of log4j for basic logging
functions?
What can be stripped from it?



-------------------------------------------------------------------- -
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/



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


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

Reply via email to