You're right that my approach isn't guaranteed to work in the general
case -- many applications either use dynamic classloading internally or
resources in their jars. For example, this often takes the form of a
property file in the jar which maps plugin names to plugin classes.
And those classes
Hi Yoav, Hi Ian,
thanks a lot for your prompt answer.
Ralf.
Shapira, Yoav schrieb:
Hi,
I calculated the number of inserted code lines versus the amount and
ratio of bytes have increased the class files.
Here are the results of my investigations:
Test Application: 1) naked2) pri
This approach will work, but you have to make sure that your application
runs without throwing exceptions. I've done this with my client-side
Sybase EAServer classes (the jar files for these classes add up to more
than 10 MB), and found that just compiling is not a guarantee that the code
will
Note that the log viewing utilities ship in the 1.2.x Log4j jar. In 1.3, these
will be separate, resulting in a smaller jar file. Can't say exactly how small,
but it will not be as large as 1.2.x.
Jake
Quoting [EMAIL PROTECTED]:
> I have an app that I'm shipping which includes only a subset of
I have an app that I'm shipping which includes only a subset of log4j
1.2.8. I'm only using the basic file and console logging capabilities
of log4j, and the classes I'm including from the log4j jar are:
org/apache/log4j/config/*.class
org/apache/log4j/helpers/*.class
org/apache/log4j/or/*.class
Hi,
>I calculated the number of inserted code lines versus the amount and
>ratio of bytes have increased the class files.
>
>Here are the results of my investigations:
>
>Test Application: 1) naked2) println()3) logging()
>total Code lines: 420 435 44
Hi Yoav,
To figure out how much memory is used by log4j, I wrote a small test
application, creating a window frame, contains a scroll table, some
labels and several Buttons connected with listeners etc.
The log4j I used with two appenders: console and rolling file, both with
different pattern l
Hi,
I don't know, but it wouldn't be difficult to track with a profiler, and
then please post the results to the list as I'm sure others are curious
;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Ralf Beger [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, April 14