Simon Kitching
8367500593
Fix possible null-pointer exception when generating diagnostic messages. JIRA issue LOGGING-115. Thanks to Frantisek Jandos for the bugreport.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@593798 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 17:40:43 +00:00
Simon Kitching
06752b4d83
Provide commons.home as an alias for jakarta.home
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@587227 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 20:08:26 +00:00
Simon Kitching
5275f20dac
Improve docs.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@587225 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 20:02:23 +00:00
Simon Kitching
b193ab4a4b
Set release date for 1.1.1 to "coming soon" so the website can be refreshed from svn trunk now without misleading info.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@563473 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 12:28:10 +00:00
Simon Kitching
b310a4ef0e
Use a dummy exception class when calling log(exception). This makes the unit test output less confusing.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@563165 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 15:08:05 +00:00
Simon Kitching
d78683113f
Add reference to nightly build info on the wiki.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@491767 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 09:29:54 +00:00
Simon Kitching
02bc1a8ee0
Add section on 1.1.1 release to index.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@491520 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 01:34:57 +00:00
Simon Kitching
82e88c562d
Add note about maven1 support.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@476784 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 09:54:02 +00:00
Simon Kitching
71e706a644
General updates
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@476777 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 09:17:43 +00:00
Simon Kitching
256ada0e80
Handle null log4j logger param to constructor better than just causing NullPointerException.
...
Thanks to Lilianne E. Blaze for the patch; see jira LOGGING-111.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@476774 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 08:57:51 +00:00
Simon Kitching
342bbe7a7a
Improve diagnostics when underlying lib throws InvocationTargetException.
...
Patch provided by Lilliane E. Blaze. See Jira issue LOGGING-111.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@476772 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 08:50:31 +00:00
Simon Kitching
fa514dfe30
Add note re how to run unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@476770 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 08:36:36 +00:00
Simon Kitching
531990ff9a
Fix use of optional dependencies; optional is a separate flag, not a scope.
...
Thanks to Wendy Smoak for pointing this out.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@476637 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 22:32:29 +00:00
Simon Kitching
e248866959
Add comments about unusual dependency-handling approach.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@476429 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 03:41:32 +00:00
Simon Kitching
d1d8103652
Trivial change; add newline after license.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@476370 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:42:48 +00:00
Simon Kitching
252b42770d
Fix thread-safety bug (SimpleDateFormat.format is not thread-safe).
...
Thanks to Martin Wilson of bright-interactive for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@464108 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 03:11:19 +00:00
Simon Kitching
d5951da110
Make test compatible with maven2 surefire.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427814 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 00:18:56 +00:00
Simon Kitching
ff8a0111c0
Have DefaultConfigTestCase explicitly set up its classpath. When run from ant, log4j is not on the
...
classpath so using the default setup works; however when run from maven2 surefire, log4j is on the
path. Explicitly controlling the test classpath works in both cases.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427808 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 00:08:20 +00:00
Simon Kitching
c340a77d5b
Manually force our custom java.util.logging.Handler class to be loaded via the
...
system classloader. This means that the unit test can successfully run even
when the class is not in the system classpath (as happens when running tests
with maven2's surefire plugin for example).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427800 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 23:48:14 +00:00
Simon Kitching
e0dc5a6f51
Remove unused imports (fix compile warnings).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427798 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 23:46:32 +00:00
Simon Kitching
60e84957f8
When multiple jars on classpath match logical lib name, use jar with shortest name.
...
Also remove debug print statement.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427797 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 23:45:58 +00:00
Simon Kitching
7d8b923dc2
Add javadoc only.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427477 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 07:37:00 +00:00
Simon Kitching
be64ad867c
Minor test tidyups (including fixing incorrect comment due to copy-and-paste).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427418 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 03:10:13 +00:00
Simon Kitching
9ee6adc5d9
Copy resources into test jar. Also minor layout tidyups.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427417 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 03:08:15 +00:00
Simon Kitching
563417f77e
Change test to be compatible with maven2 surefire; when using surefire, junit is not loaded
...
via the system classpath.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427396 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 01:16:02 +00:00
Simon Kitching
8b353e9470
Change key of servlet api jar from "servletapi" to "servlet-api". The maven2 tests pull
...
this jar from the maven2 repository, and in there the jarfile has a different name
from the jarfile in the maven1 repo where ant pulls it from :-(.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427395 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 01:14:53 +00:00
Simon Kitching
e7ab5b24d8
Allow libs for test to be discovered via the classpath as well as via system properties.
...
This has been implemented to suppprt running tests via the maven surefire plugin, but is
a general-purpose mechanism.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427394 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 01:13:11 +00:00
Simon Kitching
f7a013c518
Rework packaging phase. JCL now builds correctly with maven2 (though unit tests don't run).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@426316 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 23:09:24 +00:00
Simon Kitching
833ff6bead
Exclude LogFactoryImpl anonymous inner classes from adapter jar that shouldn't be included.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@426313 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 23:05:22 +00:00
Simon Kitching
8a0a4017b9
Initial attempt at building commons-logging using maven2; not fully functional yet.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@425252 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 01:37:50 +00:00
Simon Kitching
effb1b152a
Replace confusing variable use with plain text. There's no need for flexibility here as the
...
artifact id is really unlikely to change, and if it does we can just search-and-replace.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@425250 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 01:32:04 +00:00
Simon Kitching
557f97f1a5
Make unit tests compatible with maven2 Surefire plugin.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@425249 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 01:30:16 +00:00
Simon Kitching
cd2518594b
Add javadoc about setExplicitLoader/addLogicalLib.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@425247 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 01:26:37 +00:00
Simon Kitching
ba7d1fdbd2
Start release notes for 1.1.1
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424144 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 00:12:48 +00:00
Simon Kitching
f69077181d
Fix for LOGGING-107. JCL failed when run under a security policy that prevented calling ClassLoader.getParent.
...
We now catch SecurityException in this case, and also use an AccessController so JCL can be granted permissions
without needing the caller to have those permissions too.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424139 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 00:09:23 +00:00
Simon Kitching
65bf369979
Update license info using script update-AL20.pl, as per http://www.apache.org/legal/src-headers.html
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424112 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 23:32:01 +00:00
Simon Kitching
5147b5ff47
Update license info using script update-AL20.pl, as per http://www.apache.org/legal/src-headers.html
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424110 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 23:29:33 +00:00
Simon Kitching
d82ad2ae6e
Update license info using script update-AL20.pl, as per http://www.apache.org/legal/src-headers.html
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424108 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 23:19:55 +00:00
Simon Kitching
ceb9dedde4
Update license info using script update-AL20.pl, as per http://www.apache.org/legal/src-headers.html
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424107 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 23:15:42 +00:00
Simon Kitching
e0d9632d8b
Rename testcase files, as batch junit testing only detects classes ending in "TestCase".
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424082 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 21:59:50 +00:00
Simon Kitching
23d8dd0c2c
Only count security exceptions before a message is actually logged, as j.u.logging
...
does (and should) generate security exceptions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424078 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 21:52:52 +00:00
Simon Kitching
111ea9540b
* Add method getSystemProperty which fetches system properties using an AccessController,
...
so they are accessable by a trusted JCL lib called from untrusted code.
* Add method getContextClassLoaderInternal to fetch context classloader using an
AccessController, as the parent LogFactory class no longer exposes this (restricted)
object for any subclass to access.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424066 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 21:08:49 +00:00
Simon Kitching
6bad2dd657
* INCOMPATIBLE CHANGE (minor): protected method getContextClassloader no longer uses an AccessController.
...
This was a (minor) security flaw. Instead, behaviour is reverted to pre-1.1 behaviour where no
AccessController is used, and a new private method getContextClassloaderInternal has been created. The
chance of breaking valid user code is extremely small here. Note that this forces subclass LogFactoryImpl
to provide its own copy of getContextClassloaderInternal, as the parent no longer exposes the (restricted)
context classloader object.
* Get system properties using an AccessController so they are accessable by a trusted JCL lib called
from untrusted code.
* Revert recent patch to run entire static initializer under an AccessController, as the chances of
creating a security flaw are too high. The specific problem this patch was intended to fix has been
addressed by fetching specific system properties via an AccessController.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424063 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 21:06:09 +00:00
Simon Kitching
beeeaba151
Fix LOGGING-106 where JCL wouldn't start when run under a SecurityManager that refuses access to system properties.
...
Also use an AccessController so that a signed JCL will work in an unsigned app; note that there appears to be other
places where we are missing AccessControllers too.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@423654 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 23:31:00 +00:00
Simon Kitching
7d08044587
Add more unit tests for SecurityManager/AccessController issues
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@423653 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 23:26:49 +00:00
Simon Kitching
fc6da5291a
Add unit tests to check behaviour when running in applet-like environments
...
with restrictive security managers.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@420478 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 10:25:49 +00:00
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
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
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
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
Simon Kitching
6a015667eb
Fix problem where getResources method causes NoSuchMethodError on 1.1 JVMs,
...
due to lack of ClassLoader.getResources method. See bugzilla #37484 .
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@375866 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 05:46:03 +00:00
Simon Kitching
30be33c7a5
Exclude LogFactoryImpl from adapters jar; it doesn't do any harm but
...
will never be used as the default implementation is always loaded
via the LogFactory classloader.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371451 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 03:20:15 +00:00
Simon Kitching
f8d25b3b92
Update javadoc now that WeakHashtable is part of the standard distribution.
...
ServletContextCleaner is only a backup for odd corner cases.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371450 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 03:18:47 +00:00
Simon Kitching
a341992b05
Fix javadoc to remove references to "optional" jar, as this class is
...
now in the main distribution.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371448 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 03:10:45 +00:00
Simon Kitching
0ec19fb08c
Fix minor mistakes about WeakHashtable.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371445 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 02:53:32 +00:00
Simon Kitching
a52c268a34
Remove comment about how parent-first loading improves JVM security; it isn't correct.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371247 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 09:17:01 +00:00
Simon Kitching
8f9d03ad75
Fixes for trivial spelling mistakes only.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371246 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 09:15:44 +00:00
Simon Kitching
3c9f283108
Add 1.1 release to list of available releases.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371238 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 08:49:36 +00:00
Simon Kitching
7cd384f042
Move FAQ entries to wiki.
...
Minor grammar/spelling fixes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371236 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 08:33:16 +00:00
Simon Kitching
d102883962
Add info about new commons-logging-adapters jar
...
Remove info about non-existent optional jar
Update info about commons-logging-api jar
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371233 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 08:13:27 +00:00
Simon Kitching
fb7a703424
Add more info on commons-logging-adapters.jar file.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371232 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 08:07:54 +00:00
Simon Kitching
ecd9a70bf4
Add info about use of commons-logging.properties, including new "priority" feature.
...
Document problems with Use of static log members in library code.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371225 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 07:29:54 +00:00
Simon Kitching
c7d566cf10
Add section for 1.1 release.
...
Other minor updates.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371221 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 06:56:46 +00:00
Simon Kitching
7b1c2b0aac
Add explicit dependency on required maven xdoc plugin version.
...
Thanks to Niall Pemberton for the info.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371217 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 06:22:42 +00:00
Simon Kitching
53173ea247
Update notes re api jarfile.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371168 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 01:56:12 +00:00
Simon Kitching
c0c647127d
Exclude jdk14 logger from api jar
...
Include WeakHashtable in api jar
Make ant dependencies used in build be the same as those in the maven project.xml file.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371164 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 01:47:01 +00:00