Simon Kitching
ea5bc9e2a3
Remove weird unicode char in comments that causes compile warnings
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@420429 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 06:03:14 +00:00
Simon Kitching
ad4970dbde
Fix a few trivial compiler warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@406303 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 10:02:26 +00:00
Simon Kitching
75688e6a39
Remove unused variable.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@406293 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 09:35:42 +00:00
Simon Kitching
29935da25a
Fix incorrect package name in unit test. The test was still being compiled and
...
run ok; the generated .class was just ending up in an odd directory.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@406292 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 09:31:48 +00:00
Robert Burrell Donkin
24ca0f30f3
Updated to next SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@406079 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 11:37:02 +00:00
Robert Burrell Donkin
c9397236b3
Final preparations for JCL 1.1 Release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@405543 13f79535-47bb-0310-9956-ffa450edef68
2006-05-09 21:45:08 +00:00
Robert Burrell Donkin
62daf181b7
Preparations for Release candidate 11
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@399842 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 19:51:25 +00:00
Robert Burrell Donkin
35e8d9a94e
Emphasized that DIAGNOSTICS_DEST_PROPERTY is a constant.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@399431 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 20:58:34 +00:00
Robert Burrell Donkin
481a7fc7ca
Corrected non-harmful mistake spotted by Dennis Lundberg.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@399417 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 20:38:01 +00:00
Dennis Lundberg
04305e4cc5
Add some JavaDocs.
...
Correct JavaDocs.
Replace tab-characters with spaces.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@399225 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 09:29:00 +00:00
Dennis Lundberg
96854d71f6
Added some JavaDocs.
...
Removed a copy-pasted comment that didn't belong there.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@399224 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 09:25:54 +00:00
Dennis Lundberg
5f4391761d
Correct JavaDoc links (@see).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@399221 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 09:20:24 +00:00
Robert Burrell Donkin
cd2e8b9657
Replaced method introduced in JDK1.4 with clean implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@396112 13f79535-47bb-0310-9956-ffa450edef68
2006-04-22 11:38:25 +00:00
Robert Burrell Donkin
18e3a6fdad
Preparations for release candidate 10
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@396111 13f79535-47bb-0310-9956-ffa450edef68
2006-04-22 11:26:45 +00:00
Robert Burrell Donkin
60369ce85f
Preparing for release candidate 9.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@396108 13f79535-47bb-0310-9956-ffa450edef68
2006-04-22 10:50:32 +00:00
Robert Burrell Donkin
f05517ec95
Need to match at least the first 5 characters.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@395346 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 18:46:30 +00:00
Simon Kitching
ac4bd0a7cd
The use of static Log objects may or may not be safe depending on how that code is
...
intended to be deployed. It's therefore better for the examples to show the safest
approach (without static fields).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@395185 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 09:33:50 +00:00
Simon Kitching
a7349b8120
Fix problem with "suggested" alternative for invalid log adapter class.
...
Always trim whitespace from user-specified log adapter class name.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@395181 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 08:57:54 +00:00
Simon Kitching
fea8fb4449
* Log the classloader that really loaded the adapter class, rather than the one
...
we called loadClass on.
* Remove some debug code accidentally committed recently.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394649 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 09:16:28 +00:00
Simon Kitching
cfb31332a1
* Fix bug where unit tests weren't getting executed at all (wrong test class name)
...
* Put both resources in child classloader rather than using parent, to avoid
confusion with parentFirst not being supported by PathableClassLoader.getResources.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394603 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 03:30:38 +00:00
Simon Kitching
93cd3bf810
Add comment about getResources not respecting parentFirst
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394564 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 21:30:57 +00:00
Simon Kitching
f32ae813fc
Remove recently-added implementation of getResources. As javadoc already stated,
...
this can't be implemented because in java 1.4 getResources is final :-(. Unit
tests that care about getResources() order will just have to use parentFirst=true.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394563 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 21:30:19 +00:00
Simon Kitching
21d9e3c157
Fix dumb double-test. Thanks to Dennis Lundberg for pointing this out.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394560 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 21:20:21 +00:00
Simon Kitching
1f32b55765
Improve diagnostics
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394467 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 12:15:30 +00:00
Simon Kitching
ef627680ff
Improve diagnostic output
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394466 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 12:11:05 +00:00
Simon Kitching
0ad40253d6
Handle case of null parent classloader
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394463 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 12:01:57 +00:00
Simon Kitching
76cc63f74c
Improve diagnostics
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394462 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 11:43:29 +00:00
Simon Kitching
1c67c2510f
Fix bug where priority of first commons-logging.properties file found was ignored.
...
Also improve diagnostics output.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394461 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 11:36:37 +00:00
Simon Kitching
3555fbc436
Add unit test to verify that priority of first-found config file is respected
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394460 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 11:35:22 +00:00
Simon Kitching
4cebeec80f
Update javadoc only
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394459 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 11:34:33 +00:00
Simon Kitching
77abea9d19
Fix error where getResources() would return parent items first, even when
...
parentFirst attribute was set to false.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@394457 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 11:27:11 +00:00
Robert Burrell Donkin
be29881f14
Preparing for release candidate 8
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@392752 13f79535-47bb-0310-9956-ffa450edef68
2006-04-09 15:09:17 +00:00
Robert Burrell Donkin
378b7205b8
Preparations for release candidate 7.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@392033 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 18:53:50 +00:00
Robert Burrell Donkin
12db408e92
Upgraded manifest to reflect upcoming release candidate.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@386164 13f79535-47bb-0310-9956-ffa450edef68
2006-03-15 21:06:38 +00:00
Robert Burrell Donkin
dfbafcfb30
Improved diagnostics and added more information to the message thrown when a custom LogFactory cannot be loaded due to classloader incompatibilities.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@384025 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 21:54:57 +00:00
Simon Kitching
7870118ec9
Another minor diagnostics tweak.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381887 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 03:15:40 +00:00
Simon Kitching
d6dfbd01eb
* Fix minor syntax error in previous checkin (oops).
...
* Improve error message when custom LogFactory class cannot be instantiated due
to class cast issues.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381886 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 03:11:41 +00:00
Simon Kitching
497c9ae5f1
Add a diagnostic message, and add some comments related to issues when a
...
LogFactory implementation cannot be instantiated.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381879 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 02:49:34 +00:00
Simon Kitching
08cd79161b
Trivial javadoc patch to add return type info for isXXXEnabled methods.
...
Thanks to Boris Unckel for patch; see bugzilla#38783.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381838 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 23:57:11 +00:00
Simon Kitching
eb89dd6405
Diagnostics changes only:
...
* Output correct classloader used to load LogFactory implementation
* Use word "from" instead of confusing "->"
* Other minor improvements to diagnostics messages.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381828 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 23:32:27 +00:00
Simon Kitching
dc5a557622
Minor diagnostics tweak: use word "from" instead of confusion "->".
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381826 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 23:31:20 +00:00
Simon Kitching
f336788e71
Add Serializable tests for NoOpLog.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381239 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 03:07:41 +00:00
Simon Kitching
0806aa3672
Move NoOp tests into separate directory.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381238 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 02:59:47 +00:00
Simon Kitching
f3a21723bc
Execute tests from base AbstractLogTest class in addition to existing tests.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381237 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 02:59:11 +00:00
Simon Kitching
037499be30
Add comments, clean up imports.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381236 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 02:58:24 +00:00
Simon Kitching
d88846ee06
Add unit tests for the LogKitLogger.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381234 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 02:39:54 +00:00
Simon Kitching
bdec71cc5a
Minor enhancement to diagnostic message.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381224 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 02:28:39 +00:00
Simon Kitching
a6d1f7c256
Removed Serializable marker interface as it is not possible to implement this
...
correctly in all cases. AvalonLogger was introduced in 1.0.4, and was marked
Serializable. However serialization for this class was *completely* broken in
all cases in that release, so removing the Serializable marker is not considered
a binary-incompatible change.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@379680 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 04:53:08 +00:00
Robert Burrell Donkin
22822656d2
Preparing for release candidate 5.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@378363 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 20:53:27 +00:00
Robert Burrell Donkin
bf61edb4c3
Reverted 375631 (null getParent). After discussions about the relevant javadocs, it was established that the interpretation which lead to this patch is probably wrong. The original implementation supplies null to Class.forName which should create the class from the boot loader.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377868 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 22:38:07 +00:00