1
0
Commit Graph

547 Commits

Author SHA1 Message Date
Simon Kitching
468b013d05 Fixes due to renaming of Log4J12Logger back to Log4JLogger
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370673 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 23:53:55 +00:00
Simon Kitching
fc9408a84f Remove Log4J13Logger; log4j 1.3 is not yet released.
Rename Log4J12Logger back to old name of Log4JLogger.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370672 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 23:52:23 +00:00
Dennis Lundberg
28b2152f7c Adding myself as a developer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370667 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 23:06:22 +00:00
Robert Burrell Donkin
7fd0e64429 Javadoc improvements. Contributed by Boris Unckel. Issue #38174.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370659 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 22:48:16 +00:00
Robert Burrell Donkin
209b1f0688 Javadoc improvements. Contributed by Boris Unckel. Issue #38174.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370654 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 22:31:02 +00:00
Robert Burrell Donkin
ec82b0f579 Javadoc improvements. Contributed by Boris Unckel. Issue #38174.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370652 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 22:23:48 +00:00
Robert Burrell Donkin
64a4980cc3 Javadoc improvements. Contributed by Boris Unckel. Issue #38174.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370651 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 22:12:10 +00:00
Simon Kitching
ef58065fb1 Update version to 1.1 in MANIFEST.MF
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370635 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 21:16:47 +00:00
Robert Burrell Donkin
1f391b01cf Javadoc improvements. Contributed by Boris Unckel. Issue #38174.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370633 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 20:59:36 +00:00
Robert Burrell Donkin
65b0cc351b Javadoc improvements. Contributed by Boris Unckel. Issue #38174.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370631 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 20:50:46 +00:00
Robert Burrell Donkin
82703af9c8 Javadoc improvements. Contributed by Boris Unckel. Issue #38174.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370618 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 20:32:32 +00:00
Simon Kitching
de40e38a37 Walk the entire hierarchy of ClassLoaders, releasing memory for the
current webapp from each copy of LogFactory found.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370464 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 12:16:56 +00:00
Simon Kitching
c0de38481c Some updates (not complete yet).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370384 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 05:31:09 +00:00
Robert Burrell Donkin
73f2a07e70 Added note into javadocs about the fact that getFactory is not gauranteed to return the same instance per classloader environment. Issue #38026.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370278 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 21:57:10 +00:00
Simon Kitching
19a76b429b Add tests for new feature to disable loading of Log implementations via the TCCL.
Move existing tests for disabling loading of LogFactory via TCCL to subdir "logfactory".


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370031 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 03:42:52 +00:00
Simon Kitching
1b6895e3c5 Add feature to disable loading of Log implementations from the TCCL.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370030 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 03:38:38 +00:00
Simon Kitching
aecdf1ebec Clean up imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370013 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 02:35:03 +00:00
Simon Kitching
1a88e2bd50 Clean up imports only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370012 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 02:34:05 +00:00
Simon Kitching
d08dc18e1c Clean up imports only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370011 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 02:33:03 +00:00
Simon Kitching
69cc4ff86d Fix bug in test; custom MyFactory class wasn't specified in commons-logging.properties!
Also, use constants instead of repeating custom class name as literal.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369755 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 11:29:42 +00:00
Simon Kitching
7ff4b00fef Tests for new feature to disable loading of LogFactory implementation via the TCCL.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369747 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 10:40:00 +00:00
Simon Kitching
89a0e10f95 If config file has use_tccl=false, then don't load LogFactory implementation from the TCCL.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369745 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 10:39:30 +00:00
Simon Kitching
c9a298dd65 Remove debug print statement accidentally left in code.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369735 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 09:54:42 +00:00
Simon Kitching
1693599580 Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369719 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 08:41:27 +00:00
Simon Kitching
9a1ec952ae Unit tests for the new LogFactory feature which loads the commons-logging.properties
file with the highest priority.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369713 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 08:01:08 +00:00
Simon Kitching
477165adb1 Implement feature to load the commons-logging.properties file with the highest priority value,
not just the first one found on the classpath.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369712 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 07:56:00 +00:00
Simon Kitching
5f4f76c19c Provide facility to add URLs to the classpath.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369711 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 07:53:44 +00:00
Simon Kitching
dac6d6bee6 Remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369709 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 07:52:41 +00:00
Simon Kitching
e934c30030 Simple code cleanup; classloader for LogFactory class is computed once at startup.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369705 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 07:22:21 +00:00
Simon Kitching
0137795092 Tidy imports only
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@360479 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 07:42:12 +00:00
Robert Burrell Donkin
2f2b9d43eb Added WeakHashtable to standard distribution.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@356024 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 21:21:10 +00:00
Robert Burrell Donkin
d215df346d Moved optional distribution into contrib.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@356008 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 20:29:58 +00:00
Robert Burrell Donkin
ae7e0b3157 Moved demonstration away from the main source directory to a holding area. The aim is to clean up the source distribution.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@355971 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 16:52:00 +00:00
Robert Burrell Donkin
5b27788079 Fixed version number.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@348290 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 23:31:17 +00:00
Dion Gillard
dee4fb2492 Bug 37314 - Fixes to POMs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@348048 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 00:27:09 +00:00
Robert Burrell Donkin
001f359d58 Workaround for buggy reflection. Thanks to Dennis Lundberg for discovering this problem.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@345332 13f79535-47bb-0310-9956-ffa450edef68
2005-11-17 21:39:26 +00:00
Robert Burrell Donkin
010135be0d Fixed broken link. Thanks to Ortwin Glück for spotting this problem.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@330625 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 20:32:34 +00:00
Robert Burrell Donkin
8878a2a0ff Added comments about dependencies.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@330384 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 23:39:37 +00:00
Brett Leslie Porter
01562fa6c4 PR: 37014
Submitted by: Carlos Sanchez
improved dependency information for maven2 users in future releases


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@321118 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 13:46:09 +00:00
Simon Kitching
8b1398cfa1 Concrete subclass of the generic log4j tests, bound to log4j12.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@220002 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 06:09:51 +00:00
Simon Kitching
b1d6285f15 Implement a cleaner mechanism for setting up a test suite for classes whose
dependent libs are not present in the system classpath. The class containing
the suite() method *does not have to be* the class that contains the test
methods. By taking advantage of this, we can avoid the reflection stuff and
the trivial helper class that was introduced earlier to solve this same 
problem.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@220001 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 06:07:30 +00:00
Simon Kitching
72a6e4f9f6 log4j tests now all work fine with <batchtest> so remove special case code for log4j.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209738 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 11:46:41 +00:00
Simon Kitching
697b414639 Fix up log4j12 tests so no log4j lib needs to be in the classpath
when the suite() method is called on any TestCase class.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209737 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 11:45:25 +00:00
Simon Kitching
a9958f04f8 Remove obsolete unit test files; see StandardTests class and its concrete subclasses.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209731 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 10:09:39 +00:00
Simon Kitching
41c4b10250 Major restructure of log4j unit tests. All the same tests are done as before,
but in a (hopefully) clearer and more maintainable way.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209730 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 10:08:25 +00:00
Simon Kitching
8831d63879 Minor tweak to javadocs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209729 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 10:07:13 +00:00
Simon Kitching
9d0c1a7422 Rename LogTest to LogTestCase for consistency.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209713 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 07:08:54 +00:00
Simon Kitching
bfb095df60 Fail the build if any unit test fails. Also removed some redundant stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209712 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 07:03:41 +00:00
Simon Kitching
4bd1bd70a0 * renamed test cases from Test.java to TestCase.java for consistency.
* removed unneeded suite and constructor methods.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209711 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 07:02:20 +00:00
Robert Burrell Donkin
d163dc0a8f Tweaked test to improve portability across JVMs. (Added sorting of resource to ensure known order.)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209642 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 20:16:25 +00:00