1
0
Commit Graph

608 Commits

Author SHA1 Message Date
Simon Kitching
7caedf2e1d Add information about some containers effectively forcing parentFirst=true for JCL classes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@395202 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 10:39:49 +00:00
Simon Kitching
4b002823ed Note that building requires maven 1.x
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@395196 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 10:14:01 +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
393dc1462b Made logkit tests optional. Moved pathable tests into optional log4j section since they rely on that implementation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@392703 13f79535-47bb-0310-9956-ffa450edef68
2006-04-09 11:27:22 +00:00
Robert Burrell Donkin
744f07bc1c Ran linkcheck. Added commented out report.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@392697 13f79535-47bb-0310-9956-ffa450edef68
2006-04-09 09:34:52 +00:00
Robert Burrell Donkin
b8c8273ffa Added back comment about other websphere versions that was removed by accident.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@392694 13f79535-47bb-0310-9956-ffa450edef68
2006-04-09 09:10:09 +00:00
Robert Burrell Donkin
54803e9e01 Fixed internal indexing. JRun ships JCL but may not use a custom implementation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@392693 13f79535-47bb-0310-9956-ffa450edef68
2006-04-09 09:07:20 +00:00
Robert Burrell Donkin
06f4d75043 Ammended release notes to reflect shipping JDK logger in API jar.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@392039 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 19:03:17 +00:00
Robert Burrell Donkin
f0490d0570 Restored JDK14 to API jar. This is for drop in backwards compatibility for Tomcat.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@392036 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 18:57:36 +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
b64c22a2fa Added correct project.css this time (I hope).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@385913 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 22:09:57 +00:00
Robert Burrell Donkin
1221167446 Added a page on building. Copied from IO.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@385906 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 22:02:08 +00:00
Robert Burrell Donkin
d12114c532 Missed change to commons links.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@385903 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 21:51:42 +00:00
Robert Burrell Donkin
2d3b5ac751 Upgraded site so that commons build is not longer needed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@385902 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 21:40:32 +00:00
Robert Burrell Donkin
1cfc5f3532 Upgraded version in preparation for new release candidate.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@385893 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 21:28:38 +00:00
Robert Burrell Donkin
a5b7839fec Added contents section. Improved readability of custom implementation prose. Speiling fixes. Thanks to Simon Kitching for spotting incongruent grammar by I.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@385047 13f79535-47bb-0310-9956-ffa450edef68
2006-03-11 10:22:36 +00:00
Robert Burrell Donkin
1b10d09a00 First draft on troubleshooting WAS (and other containers that use custom LogFactory implementations).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@384600 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 20:21:28 +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
Robert Burrell Donkin
f8c59c7d27 Updated guide to reflect changes made to diagnostics format.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@382145 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 20:32:07 +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
d1779b026e Added section on Serializable classes with Log objects as members.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381300 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 09:20:56 +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
3a70e9ac3a Create dir to hold tests for NoOpLog.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381235 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 02:48:58 +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
6575f84d9e Tab->space conversions only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381232 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 02:37:19 +00:00
Simon Kitching
abfdb4af34 * Make LogKit lib available to unit tests
* Fix minor documentation error re running specific tests
* Add documentation on enabling diagnostics during tests
* replace tabs with spaces


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381230 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 02:31:40 +00:00