1
0

Commit Graph

  • a1b55ec925 Factor the actual writing out of log() into a new write() method so that subclasses can easily specialize this function, without having to specialize the creation of the message to be written. Craig R. McClanahan 2004-03-01 02:12:48 +00:00
  • bb88e1999b Added missing end tags. Contributed by Dennis Lundberg. Robert Burrell Donkin 2004-02-29 09:37:37 +00:00
  • 7930ee6520 Moved license below xml declaration. Contributed by Dennis Lundberg. Robert Burrell Donkin 2004-02-29 09:37:09 +00:00
  • af56b24b58 Update release notes for all the changes (so far) to be included in a commons-logging 1.0.4 release. Tweak documentation to reflect the availability of two new Log implementations (Avalon Framework and LumberJack). Craig R. McClanahan 2004-02-28 23:20:57 +00:00
  • 37c89a6d88 Make this implementation Serializable as well. Craig R. McClanahan 2004-02-28 23:05:01 +00:00
  • 538ee2bd6d Eliminate spurious second "-" character when showShortLogname=true. Craig R. McClanahan 2004-02-28 23:00:57 +00:00
  • d96e2a0af2 Clean up a Javadoc generation warning. Craig R. McClanahan 2004-02-28 22:16:16 +00:00
  • ef2a5e4383 Finish migration to the new Apache License (version 2.0): * Add updated LICENSE.txt and new NOTICE.txt files. * Add license header to currently unlicensed text files (html, xml, properties). Craig R. McClanahan 2004-02-28 22:10:53 +00:00
  • 514f666482 Phase 1 of updating [logging] to the Apache License version 2.0. Executed the "ReplaceLicense" utility in the committers module. Individual cleanups and the addition of licenses to currently unlicensed files will follow in a separate commit. Craig R. McClanahan 2004-02-28 21:46:46 +00:00
  • c83a3e1b5a Fixes for typos and speiling mistakes in the javadocs Contributed by Dennis Lundberg. Robert Burrell Donkin 2004-02-28 17:54:14 +00:00
  • b8683537ac fixed xhtml Henri Yandell 2004-02-19 03:28:52 +00:00
  • 3da3d5fc6f translated PROPOSAL.html to proposal.xml Henri Yandell 2004-02-19 03:11:46 +00:00
  • 6a3bb712f3 Adding Commons Site Look & Feel configuration to all jakarta-commons/<project>/project.properties Mark R. Diggory 2004-02-18 04:11:35 +00:00
  • 6ec31816e3 Corrections to documentation. Submitted by Dennis Lundberg. Robert Burrell Donkin 2004-02-16 21:28:09 +00:00
  • 0541ed8d99 Added fine logging logo created by Tim. Robert Burrell Donkin 2004-02-15 10:53:25 +00:00
  • 028cb876a4 Added maven build (aimed at documentation). This isn't totally satisfactory (for example, I've stripped out the unit tests) and the user guide formatting isn't brilliant. But i feel that i want to be able to get some feedback and there are some other priorities. i'll try to get to this work later. Robert Burrell Donkin 2004-02-15 10:28:56 +00:00
  • 400cb6b6ec Added maven build (aimed at documentation). This isn't totally satisfactory (for example, I've stripped out the unit tests) and the user guide formatting isn't brilliant. But i feel that i want to be able to get some feedback and there are some other priorities. i'll try to get to this work later. Robert Burrell Donkin 2004-02-15 09:39:17 +00:00
  • 63f5caa8d3 Moving extension of global project.xml to ../commons-build/project.xml on those project.xml files which originally had it in place. Mark R. Diggory 2004-02-10 19:15:05 +00:00
  • 4b738b61fc Commit'd a commons logging logo Timothy O'Brien 2004-02-10 02:43:00 +00:00
  • 41c6d63086 Fixed some bad links. (Thanks to James Mitchell for the spot.) Robert Burrell Donkin 2003-10-13 13:44:16 +00:00
  • 4d51df78d4 Fixed typos in apache licenses Robert Burrell Donkin 2003-10-09 21:37:48 +00:00
  • c81ff3807f Corrected licenses to match jakarta-commons standard. Robert Burrell Donkin 2003-10-05 15:59:26 +00:00
  • 2db31c969e Remove "final" declaration on the Log implementations that still have it (SimpleLog was already non-final) so that developers can subclass to specialize the existing behavior. Craig R. McClanahan 2003-10-02 16:17:57 +00:00
  • 27c9920b42 Correct a usage example in the Package Description javadocs. Craig R. McClanahan 2003-08-16 23:46:31 +00:00
  • a4eb04167c Add support for Lumberjack (a project that supports JSR-47 compatible logging on a JDK 1.2 or JDK 1.3 system). Craig R. McClanahan 2003-08-16 22:35:16 +00:00
  • e7c2d81417 Make the remaining non-deprecated Log implementations also implement Serializable, and enhance the unit tests for JDK 1.4 an Log4J logging to validate the ability to deserialize and use such instances. Craig R. McClanahan 2003-08-16 21:58:59 +00:00
  • 45c7fb43cb Make o.a.c.l.impl.SimpleLog Serializable. Craig R. McClanahan 2003-08-16 21:25:54 +00:00
  • 7e5ed8d7dd Cosmetic changes only - clean up JDK 1.4.2 javadoc generation warnings. Craig R. McClanahan 2003-08-16 18:21:50 +00:00
  • 9b81cd7318 *** empty log message *** Richard A. Sitze 2003-07-18 14:15:50 +00:00
  • 8ab8f5e09b Cleanup imports. Richard A. Sitze 2003-07-18 14:14:16 +00:00
  • 76e5c8aaf7 Cleanup imports & some static method calls. Richard A. Sitze 2003-07-18 14:11:45 +00:00
  • 5ac51cd843 Make SimpleLog more friendly to the security manager in an applet environment, by swallowing any security exceptions when looking up system properties that are not accessible. Craig R. McClanahan 2003-07-15 15:47:38 +00:00
  • 482961e7b5 Modified build script so that user guide is copied into distribution. Robert Burrell Donkin 2003-05-22 13:55:28 +00:00
  • 7539845c43 Made implementation of AvalonLogger more robust (avoiding NPEs when nulls are passed in) together with a testcase. Improved build by compiling tests for only those optional components whose dependencies are present. Submitted by Neeme Praks. Robert Burrell Donkin 2003-05-14 11:14:24 +00:00
  • b1f47cf55f Fixed mistake I made with Avalon Framework version numbers. Submitted by Neeme Praks. Robert Burrell Donkin 2003-05-14 10:47:56 +00:00
  • 3de4f334c8 Added AvalonLogger which wraps the logger used by the Avalon framework. Also added an optional dependency on avalon-framework.jar. Added better warnings to build about which loggers are going to be created. Submitted by Neeme Praks. Robert Burrell Donkin 2003-05-07 16:23:36 +00:00
  • dfd06ec619 Updated status with new optional dependency Robert Burrell Donkin 2003-05-07 16:20:49 +00:00
  • d618afdfc9 Added AvalonLogger which wraps the logger used by the Avalon framework. Also added an optional dependency on avalon-framework.jar. Added better warnings to build about which loggers are going to be created. Robert Burrell Donkin 2003-05-07 16:02:20 +00:00
  • 11c4638fda Improved documentation. Robert Burrell Donkin 2003-05-01 16:55:29 +00:00
  • d8abaeb2b5 Improved error handling. Added custom message when the configured LogFactory implementation does not extend LogFactory. This should make it easier to diagnose when a user has made a mistake in the logging configuration, for example by setting LogFactory to a Log implementation. Robert Burrell Donkin 2003-05-01 10:32:36 +00:00
  • 8d5b06149b Eliminate reference to log4j from manifest classpath Richard A. Sitze 2003-04-17 15:13:01 +00:00
  • d5f08a7710 Remove unnecessary test constructors, let run with my archaic version of JUnit. Richard A. Sitze 2003-04-10 22:40:37 +00:00
  • a9bd59d60a Updated to reflect 1.0.3 release Robert Burrell Donkin 2003-04-07 09:36:10 +00:00
  • 3675338d7a Added version details for dependencies. Robert Burrell Donkin 2003-04-06 21:18:35 +00:00
  • 2faad3cd17 Preparations for 1.0.3 release Robert Burrell Donkin 2003-04-06 20:37:32 +00:00
  • 25ea9e7c90 Include the release notes in the distribution. Craig R. McClanahan 2003-04-04 03:13:30 +00:00
  • b25ab60184 Update release notes for a proposed 1.0.3 release of Commons Logging. Craig R. McClanahan 2003-04-04 02:49:10 +00:00
  • c2f6f68394 Per discussion on COMMONS-DEV and bug reports 17561 and 17894, deprecate the "proxy log factory" class o.a.c.l.impl.Log4jFactory (which didn't really accomplish any functional purpose), and remove from LogFactoryImpl the creation and use of a proxy instance. Craig R. McClanahan 2003-04-02 01:53:04 +00:00
  • a6ec91bec0 Remove attempt to configure the root logger if it has not been done so. Craig R. McClanahan 2003-04-02 01:29:38 +00:00
  • 7c71a7d917 Wrapper: - Refactor the setup of class loaders so that it is clearer what is going on - For the Log4J tests, add the custom Appender implementation to whichever class loader Log4J is put in - Set and reset the thread context class loader to more accurately simulate the environment of a servlet container. Craig R. McClanahan 2003-04-02 00:50:49 +00:00
  • 5347bd9e55 Copy LICENSE.txt file into distribution, and make sure it is included in the JAR files, without going to the directory above the top-level directory. This will make it easier to build commons-logging from source distros. Craig R. McClanahan 2003-03-31 00:38:22 +00:00
  • c12099176f If we are not going to log the message anyway, do not waste the effort to create a Throwable and figure out the calling class and method stuff. Craig R. McClanahan 2003-03-31 00:27:08 +00:00
  • b3039e1bbf When copying MANIFEST.MF files for the JAR files, use the one that has already been filtered to get the right version number in it. Craig R. McClanahan 2003-03-31 00:20:19 +00:00
  • 27559f2f8c Cosmetic changes, and correct copyright dates. Add simple overview with pointer to the real documentation, and a package.html for the o.a.c.l.impl package. Bring various documentation points up to date with the actual current functionality. Craig R. McClanahan 2003-03-30 23:42:36 +00:00
  • e462bae3af Add basic tests for Log4J. Still need to add the multi-classloader scenarios. Craig R. McClanahan 2003-03-30 05:22:50 +00:00
  • 4ed6819dc3 Add test scenarios where two levels of class loader hierarchies are created - one exactly like the default configuration of Tomcat 4.1 (with c-l placed inside the webapp) and one where you put c-l in the parent class loader (in place of commons-logging-api.jar) so webapps do not have to. Craig R. McClanahan 2003-03-30 02:30:37 +00:00
  • 916223fc8d Add a more thorough set of unit tests for using JDK 1.4 logging. Right now, the tests run when everything is in the system class loader -- need to add execution wrappers for two-tier class loaders where: Craig R. McClanahan 2003-03-29 22:04:54 +00:00
  • 64fc246f30 Clean up JavaDoc warning on JDK 1.4. Craig R. McClanahan 2003-03-29 18:31:17 +00:00
  • cf2cfe7196 Avoid breaking the build when a developer has "commons-logging.jar" set in a build.properties file already. Craig R. McClanahan 2003-03-17 03:24:14 +00:00
  • 0f011cbf65 That's what was breaking the build in tomcat5. Costin Manolache 2003-03-13 21:19:33 +00:00
  • 21932779c8 Added tests for class loading, no problems detected in "common" use cases baliuka 2003-03-01 09:55:07 +00:00
  • 7b532cd48c Update the build process to skip all the Log4J implementation classes if Log4J is not present. Craig R. McClanahan 2003-02-01 04:29:05 +00:00
  • f7faef2426 Change the class used to detect whether JDK 1.4 is installed from "java.util.logging.Logger" to "java.sql.Savepoint". This means that a JDK 1.3 JVM with an alternative JSR-47 (logging jsr) implementation available will not be mis-identified as a JDK 1.4 system. Craig R. McClanahan 2003-02-01 04:11:03 +00:00
  • 9e8e6b4991 Upgraded the dependency from 1.1.3 to 1.2.6. Possibly it ought to move to 1.2.7, but I'm unable to confirm if Maven has that in the repository at the moment. Henri Yandell 2003-01-24 18:39:53 +00:00
  • 9f33f5482d Experimentally add a release(ClassLoader) method that lets, for example, a webapp clean up references to any LogFactory, and associated Log instances, that are associated with its class loader. Craig R. McClanahan 2002-12-18 07:20:50 +00:00
  • 27b1f756e3 Oops.. almost broke type check via typecast! Richard A. Sitze 2002-12-13 16:55:39 +00:00
  • d256cb00f7 More doPriv's around ClassLoader.loadClass and Class.forName Richard A. Sitze 2002-12-13 16:48:06 +00:00
  • 7117827bcb Fix getResourceAsStream security violations with doPriv. Richard A. Sitze 2002-12-12 20:29:16 +00:00
  • 4f6bc55f0e Added a FAQ entry about thread safety based on a paragraph suggested by John Yu. Robert Burrell Donkin 2002-12-12 19:56:44 +00:00
  • 6daa5b9439 Duh. Different take on this - why do we preload in the first place? New methods check System & local properties directly. Richard A. Sitze 2002-12-12 19:49:30 +00:00
  • b122313d94 1. Wrapped System.getProperties with doPrivileged. 2. Moved catch. If System properties cannot be loaded, then don't abandon effort, but go on to loading properties file. Richard A. Sitze 2002-12-12 19:23:34 +00:00
  • 4e0ad3c8ff It helps if you actually add the new file as well. Craig R. McClanahan 2002-11-23 03:50:13 +00:00
  • 2783ad6bc1 Deprecte Log4JCategoryLog (because Log4J has deprecated o.a.l.Category), and replace it with a new Log4JLogger implementation that wraps an o.a.l.Logger instance instead. Craig R. McClanahan 2002-11-23 03:49:40 +00:00
  • e0be9b7850 Add a getCategory() method that returns the underlying Log4J Category instance, analogous to the getLogger() method on JDK14Logger. Craig R. McClanahan 2002-11-23 03:25:33 +00:00
  • 03645a6b4a Update remaining documentation that says the default Log implementation is NoOpLog. It was changed to SimpleLog a while back. Craig R. McClanahan 2002-11-23 03:07:58 +00:00
  • a661c64c6d *** empty log message *** Richard A. Sitze 2002-11-11 16:52:54 +00:00
  • c4cefe5632 Ignore logs Dion Gillard 2002-11-01 03:25:56 +00:00
  • 4ed0fed1c8 Woops Dion Gillard 2002-11-01 03:25:43 +00:00
  • 3b71f2efc9 Added logs Dion Gillard 2002-11-01 03:24:08 +00:00
  • 478b89b021 inceptionYear is 2001 Rodney Waldhoff 2002-10-31 16:18:15 +00:00
  • 1e48b00b78 Fix typo - thanks Martin Dion Gillard 2002-10-31 03:49:33 +00:00
  • 84fb63cf44 Fix URL Dion Gillard 2002-10-31 03:03:37 +00:00
  • 4453cfb4fa Avoid name clashes on local property names "commons-logging-api.jar" and "commons-logging.jar" which will not work correctly for any developer who has such properties defined in a "${user.home}/build.properties" file. Craig R. McClanahan 2002-10-28 00:41:29 +00:00
  • 8daf0f8bce A small change that allows the quick build of commons-logging jars. Costin Manolache 2002-10-24 18:26:21 +00:00
  • 41a175c6bd typo - slap me for not building/testing after EVERY minor change.. Richard A. Sitze 2002-10-19 17:38:06 +00:00
  • 3a5b034cef - code cleanup, refactoring, and corrected a few undiscoved bugs.. - Bugzilla 13157 - Log4j takes undue precedence over Log override. Richard A. Sitze 2002-10-19 17:25:18 +00:00
  • f76f188696 Dump stack trace through logger, not stdout (preservers sequence of buffered output). Richard A. Sitze 2002-10-19 17:19:05 +00:00
  • dfcf03ab41 - Added new LogTest that exercises factory - log statements now show implementation class (helpfull for visual verification that expected logger was found). Richard A. Sitze 2002-10-19 17:14:26 +00:00
  • a3566a19b7 added null parameter log method calls Sean Sullivan 2002-10-18 04:19:56 +00:00
  • 03368dd582 Bugzilla Defect 10825 [thanks for the patch & the education!] Added real text & exceptions to tests.. it's harder to read :-( Richard A. Sitze 2002-10-17 23:00:04 +00:00
  • 8c5d183b40 removed junk methods Sean Sullivan 2002-10-11 05:02:59 +00:00
  • 398e84d1b6 added test code Sean Sullivan 2002-10-11 04:53:21 +00:00
  • 3bd953f430 unit test code Sean Sullivan 2002-10-11 04:52:59 +00:00
  • 4f4e1d7a3c Updated STATUS document with release information. Robert Burrell Donkin 2002-09-27 18:39:12 +00:00
  • 72e4cef37b javadoc cleanup Richard A. Sitze 2002-09-27 02:16:44 +00:00
  • c53d47efc9 javadoc cleanup Richard A. Sitze 2002-09-27 02:14:57 +00:00
  • b891e01d0c Version 1.0.2 Richard A. Sitze 2002-09-27 02:02:06 +00:00
  • fd531862b1 Adding self as contributor.. only thing new here is updating the doc. Richard A. Sitze 2002-09-25 22:06:19 +00:00
  • 5b662d1710 Correct 2 problems: 1. getContextClassLoader is priviledged, protect for J2EE environs. 2. getContextClassLoader can & does return null. Code wasn't checking for this properly. Richard A. Sitze 2002-08-30 03:23:34 +00:00
  • 8f27abb3e4 *** empty log message *** Richard A. Sitze 2002-08-23 14:55:37 +00:00