76fd384d20
Corrections to document regarding NLS enablement, wording was to strong.
Richard A. Sitze
2002-08-23 14:55:32 +00:00
2ba41d354f
Update version number back for development.
Craig R. McClanahan
2002-08-13 01:22:33 +00:00
56a5121b56
Update version number for release tagging.
Craig R. McClanahan
2002-08-13 01:17:54 +00:00
5c1867cae3
Correct caching behavior... I broke it a while back, but I've learned much since then...
Richard A. Sitze
2002-08-12 21:01:07 +00:00
1da90cf28c
o With the addition of a <sourceModification> element I can now build commons-logging with Java 1.3. The Jdk14Logger class is exclude if you don't have what you need to build it. PR: Obtained from: Submitted by: Reviewed by:
Jason van Zyl
2002-08-09 19:59:49 +00:00
21e56ae851
Subtle little bug... if we cannot find OUR Log4J wrapper, then we cannot support Log4j...
Richard A. Sitze
2002-08-09 18:47:34 +00:00
75d031c682
Compatible change, reveal internal properties that are useful for discovery... ?should discovery use reflection to try to find these, in absence of explicitly provided values?
Richard A. Sitze
2002-08-09 16:18:36 +00:00
ef6490d411
o adding junit for the tests PR: Obtained from: Submitted by: Reviewed by:
Jason van Zyl
2002-07-26 20:29:46 +00:00
446d7740c9
o cleaning up the maven descriptors for the projects so that a site with decent names is generated (link to come)
Jason van Zyl
2002-07-25 02:36:45 +00:00
a42095eb11
o maven goodies PR: Obtained from: Submitted by: Reviewed by:
Jason van Zyl
2002-07-23 16:55:55 +00:00
51532168ec
Fixed nits & rewording to help distinguish between util/tooling and framework/middleware.
Richard A. Sitze
2002-07-22 22:32:52 +00:00
06f8b88aa1
Users guide, including best-practices notes (from my point of view). Not everyone agrees with me on all the details, so feel free to raise issues/add your own ideas, etc. If we have conflicting ideas, that's probably OK as long as the pros/cons are presented along with differing opinions.
Richard A. Sitze
2002-07-22 20:41:12 +00:00
52ba50f028
bug 10480: handle null message without throwing NPE
Richard A. Sitze
2002-07-17 16:42:40 +00:00
d3b8b85e48
Make SimpleLog check for its "simplelog.properties" resource in the thread context class loader, if present, while using the same trick LogFactory does to protect JDK 1.1 compatibility.
Craig R. McClanahan
2002-06-15 20:54:48 +00:00
08ee4c68c3
Cosmetic changes in comments, to keep the JDK 1.4 standard JavaDoc doclet from whining.
Craig R. McClanahan
2002-06-15 18:13:02 +00:00
6b15ddfe75
Resolve NullPointerExceptions
Richard A. Sitze
2002-06-11 22:47:21 +00:00
2a26463d60
Correct new method name
Richard A. Sitze
2002-06-11 22:35:33 +00:00
329f05ee4f
Resolve NullPointerExceptions, remove redundant checks, minor refactoring to facilitate readability.
Richard A. Sitze
2002-06-11 22:34:32 +00:00
470f3338d0
Resolve NullPointerExceptions, remove redundant checks, minor refactoring to facilitate readability.
Richard A. Sitze
2002-06-11 22:29:14 +00:00
83e704b910
Add the simple logger to the '-api' jar.
Costin Manolache
2002-06-07 20:22:29 +00:00
b2038dcc68
Make sure we are initialized for all constructors. Change the name of the default appender.
Costin Manolache
2002-06-07 00:22:54 +00:00
5183b765a3
Build commons-logging-api.jar, with no logger adapters. This will allow the logger and the adapters to sit in the WEB-INF ( and multiple loggers to be used ), while having commons-logging in the root classloader.
Costin Manolache
2002-06-06 22:11:28 +00:00
d7208355d3
Few fixes: - if no log4j.properties is found, we'll construct a 'sane' config ( to be consistent with the other loggers ). The appender must have a name ( otherwise the JMX stuff in log4j will complain )
Costin Manolache
2002-06-06 22:09:09 +00:00
97e35d1253
Added a class-path directive, that avoids the need to set CLASSPATH manually.
Costin Manolache
2002-05-09 22:01:25 +00:00
b75a58b4af
Few small (?) fixes:
Costin Manolache
2002-05-06 21:32:37 +00:00
739f6cecfe
Modified to use the same classloader when defaulting to the default log factory
Scott Sanders
2002-05-04 19:50:29 +00:00
025dc566b9
The Jdk14Logger wrapper should not be modifying the configuration of the underlying logger.
Craig R. McClanahan
2002-04-29 16:48:09 +00:00
6bafa3f510
Modify the logger discovery contract to perform the complete set of checks even in environments (such as an Applet) where System.getProperty() throws a security exception. Previously, this was causing the checks for Log4J or JDK 1.4 logging to be skipped.
Craig R. McClanahan
2002-03-31 00:31:49 +00:00
324af077b3
Corrected missing end tag in java doc comments
Robert Burrell Donkin
2002-03-11 22:40:19 +00:00
27347eec03
Patch from Richard Sitze <rsitze at us.ibm.com>.
Costin Manolache
2002-03-07 22:32:47 +00:00
740d078137
Make discovery process on LogSource compatible with that used by LogFactory with respect to system properties.
Craig R. McClanahan
2002-03-04 00:41:37 +00:00
5f390b02fc
When selecting the default logging implementation on a 1.4 system, ensure that the commons-logging wrapper is also available before selecting it. This avoids problems when using a copy of commons-logging.jar compiled on a 1.3 system (and therefore missing the wrappe class) when executing on a 1.4 system.
Craig R. McClanahan
2002-02-27 18:01:41 +00:00
078804d827
Deal with the posiblity that a commons-logging is loaded in a loader, and the thread loader is set to point to a different loader that doesn't include logging ( or to a wrong value ).
Costin Manolache
2002-02-26 19:00:27 +00:00
18a4e8fa33
Added catch of security exceptions which are thrown if using commons-logging inside a container, such as the J2EE SDK server.
James Strachan
2002-02-26 04:06:22 +00:00
dee096a758
Reset version number for development. Update copyright year (so that it will be right the next time).
Craig R. McClanahan
2002-02-20 23:02:01 +00:00
a2abbb8b5c
Update version number for release build.
Craig R. McClanahan
2002-02-20 22:07:04 +00:00
accadb23ed
Log to stderr.
Costin Manolache
2002-02-15 05:46:36 +00:00
f7489ad021
Add a mechanism to use a proxy. The default impl will first look for a logger package, and preferably use a specialized factory, which can provide better integration with the real logger.
Costin Manolache
2002-02-15 05:42:35 +00:00
a42b6b9bd6
Add the second constructor to be used with Log4jFactory.
Costin Manolache
2002-02-15 03:54:19 +00:00
377a98ff3b
Added a log4j specific factory. It's cleaner and goes directly to the logger impl, without introspection. The factory can be extended to take advantage of other log4j features ( it calls getInstance(Class) direclty for example ) to integrate better.
Costin Manolache
2002-02-15 03:53:39 +00:00
aa4b2e1a80
Update the javadocs package description to reflect the new LogFactory capabilities.
Craig R. McClanahan
2002-02-15 01:59:48 +00:00
7bf2ea493d
Include the classpath in the available check.
Costin Manolache
2002-02-14 22:00:34 +00:00
6f50fad399
Add the standard ( ? ) JDK1.3 'service provider' mechanism. It's usually better to use the standards ( if it makes sense ), and that's something that works well enough ( crimson, xerces, xalan, saxon, etc).
Costin Manolache
2002-02-14 21:09:19 +00:00
2ffc19f7df
Fix conditional compilation. The official distribution must include support for all loggers, for development it should be enough to have one.
Costin Manolache
2002-02-14 21:04:18 +00:00
c72b5cc3a1
Added myself to the status.
Costin Manolache
2002-02-14 21:03:11 +00:00
87cfde50b6
Fix the implementation in LogFactory and LogFactoryImpl so that it actually works as documented.
Craig R. McClanahan
2002-02-14 03:48:44 +00:00
6a315e28ed
Improvements to the new LogFactory APIs, based on feedback from Costin and Jon plus some additional thought about using it in a multi-class-loader environment (like Tomcat):
Craig R. McClanahan
2002-02-14 00:19:03 +00:00
753843f275
Forgot to commit the new exception class.
Craig R. McClanahan
2002-02-13 02:18:30 +00:00
91d58c6367
Add a new factory base class (LogFactory) and corresponding implementation (LogFactoryImpl) that is based on the principles of the JAXP API's approach to discovering SAXParserFactory and DocumentBuilderFactory instances. It addresses the technical concerns that Costin brought up in response to the original Commons Logging 1.0 vote.
Craig R. McClanahan
2002-02-13 02:18:11 +00:00
6b20d69b8e
Update to reflect the move of the JDK14Logger class
Scott Sanders
2002-02-03 01:44:03 +00:00
14c7f711e3
Removed impl classes as they have moved to impl now
Scott Sanders
2002-02-03 01:33:27 +00:00
644168defb
New import because of move
Scott Sanders
2002-02-03 01:31:54 +00:00
9a529044cb
Moved implementation classes to impl package, as per Costin M.
Scott Sanders
2002-02-03 01:31:29 +00:00
c0cc00947a
Use Hashtable instead of HashMap, for JDK 1.1 compatibility, and to solve sync issues
Scott Sanders
2002-02-03 01:28:00 +00:00
84958f29b7
Update to add a trace() level to the Log interface. Currently uses debug() in Log4J and LogKit PR: Obtained from: Submitted by: Reviewed by:
Scott Sanders
2002-01-31 00:14:31 +00:00
8d3cf2e4ac
*** empty log message ***
Peter Donald
2002-01-30 07:51:03 +00:00
ed81b5ffec
Correct the author attributions on the JDK 1.4 logging package wrapper. The code that this was based on was posted by Paulo Gaspar with a Java package name of "krankikom.log.*" -- not exactly rousing evidence of the fact that it came from Avalon.
Craig R. McClanahan
2002-01-30 03:56:26 +00:00
50aeb810bf
Updated JDK14Logger to use the FINE level instead of the FINEST level for debug. This way if commons-logging needs to define a lower level, it will be able to do so. I am thinking about this because JBoss has a TRACE level below debug. PR: Obtained from: Submitted by: Reviewed by:
Scott Sanders
2002-01-29 20:48:10 +00:00
e4a89ea02f
Release Notes for the release PR: Obtained from: Submitted by: Reviewed by:
Scott Sanders
2002-01-29 20:31:04 +00:00
fddc5b95e0
Updated the STATUS file to add myself as a comitter and to attribute Avalon and Log4J for the influence that they had on the interface impls. PR: Obtained from: Submitted by: Reviewed by:
Scott Sanders
2002-01-29 20:30:34 +00:00
35be4f47a4
Update to remove unused try catch PR: Obtained from: Submitted by: Daniel Rall [dlr@finemaltcoding.com] Reviewed by:
Scott Sanders
2002-01-25 18:41:48 +00:00
731ec59f35
Updated documentation to reflect new Log interface
Robert Burrell Donkin
2002-01-23 20:14:30 +00:00
6aa9386d49
Updated package documentation to reflect latest Log interface
Robert Burrell Donkin
2002-01-22 22:10:45 +00:00
97142db2c2
Add logkit.jar to "test.classpath" as well as "compile.classpath".
Craig R. McClanahan
2002-01-22 01:33:45 +00:00
dabce5cf42
Add convenience "all" and "off" levels to SimpleLog.
Craig R. McClanahan
2002-01-21 21:19:38 +00:00
fef8c7dd0a
Update hyperlinks in these two files.
Craig R. McClanahan
2002-01-20 04:48:27 +00:00
7d84a88865
Removed AbstractLog and associated test case, removed log level constants from Log interface, added renamed level constants to SimpleLog and fixed SimpleLog configuration bug
Robert Burrell Donkin
2002-01-17 22:55:43 +00:00
b39b2191aa
Implement the agreed-upon API changes for the commons-logging package. If the changes are too radical, I tagged things with "before_clean_up" to make it easy to go back.
Craig R. McClanahan
2002-01-17 01:47:49 +00:00
36652638b4
Make LogSource more applet-friendly by swallowing any security exception thrown when System.getProperty() is called.
Craig R. McClanahan
2002-01-16 00:54:51 +00:00
7ed3bbc6ee
A few more tweaks to the STATUS file, add the MANIFEST.MF file for the META-INF directory of the JAR file.
Craig R. McClanahan
2002-01-08 22:55:39 +00:00
ea082c4cdc
Added LogKitLogger documentation
Robert Burrell Donkin
2002-01-08 21:35:10 +00:00
5be574e6f0
Log levels test case initial commit
Robert Burrell Donkin
2002-01-03 18:49:27 +00:00
dd4e6015c3
Initial commit of log implementation used for testing
Robert Burrell Donkin
2002-01-03 18:48:41 +00:00
80e21a7d1d
Logging test suite initial commit
Robert Burrell Donkin
2002-01-03 18:47:09 +00:00
13148bb70f
Logging status file initial commit
Robert Burrell Donkin
2002-01-03 18:45:27 +00:00
35ad9f42bd
Forgot to clean up a Javadoc warning along the way.
Craig R. McClanahan
2001-12-04 04:41:00 +00:00
ad40b8fdb4
Migrate the "logging" package from jakarta-commons-sandbox.
Craig R. McClanahan
2001-12-04 04:28:03 +00:00
85cb60fc43
no message
Morgan James Delagrange
2001-08-09 14:54:42 +00:00
accc30a955
fixing typos
Morgan James Delagrange
2001-08-08 20:54:15 +00:00
3fdbfd2e86
proposal for stand-alone logging component
Morgan James Delagrange
2001-08-08 20:35:22 +00:00
c8c5b8a7ad
proposal for stand-alone logging component
Morgan James Delagrange
2001-08-08 20:05:27 +00:00
0e1807129a
removing assert(), since that's a reserved keyword in JDK 1.4 we can add it back later once log4j settles on a new method name
Rodney Waldhoff
2001-08-07 17:37:22 +00:00
2f77a01e23
adding isDebugEnabled and isInfoEnabled per Ceki's suggestion
Rodney Waldhoff
2001-08-02 22:14:41 +00:00
db6faedfe4
refactored logging so that log4j is no longer a runtime depedency updates to documentation to come
Rodney Waldhoff
2001-08-02 16:27:06 +00:00
aee9225a28
New repository initialized by cvs2svn.
No Author
2001-08-02 16:27:06 +00:00