1
0
Commit Graph

582 Commits

Author SHA1 Message Date
Thomas Neidhart
74ee29cda3 [LOGGING-135] Improved thread-safety for SimpleLog, AvalonLogger.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1435115 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 12:40:19 +00:00
Thomas Neidhart
ae4698230a [LOGGING-119] Prevent potential deadlock in WeakHashtable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1435077 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 10:51:35 +00:00
Sebastian Bazley
80c9babba1 Detab
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1433100 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 20:22:03 +00:00
Thomas Neidhart
a15f1df4cc Fix a few typos in the user/tech guides.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432710 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 19:22:05 +00:00
Thomas Neidhart
71f6456f4a Move test resources to src/test/resources.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432702 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 19:14:05 +00:00
Thomas Neidhart
4023f0b67b Move test classes to src/test/java
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432695 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 18:38:37 +00:00
Thomas Neidhart
d2b94cf9eb Move source to standard maven location.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432690 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 18:22:20 +00:00
Thomas Neidhart
ea228ebb43 Formatting of try/catch blocks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432686 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 18:10:17 +00:00
Thomas Neidhart
3a6a6f49ad Prevent potential null-pointer access warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432679 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 17:58:20 +00:00
Thomas Neidhart
cf973028d8 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432675 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 17:53:30 +00:00
Thomas Neidhart
70a06f8947 Move authors to pom.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432663 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 17:24:18 +00:00
Thomas Neidhart
2789e087fd More removal of trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432587 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 11:11:32 +00:00
Thomas Neidhart
81e90d14a3 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432580 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 10:41:05 +00:00
Gary D. Gregory
1807d469fe Add final modifier to private fields.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432548 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 04:39:40 +00:00
Gary D. Gregory
3e255fea93 Convert control statement bodies to block.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432547 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 04:39:03 +00:00
Thomas Neidhart
d1123e424d Add serialVersionUID where needed, some javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432465 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 16:24:19 +00:00
Thomas Neidhart
592868b494 More javadoc and formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432453 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 15:29:22 +00:00
Thomas Neidhart
03fced4b61 Formatting and javadoc cleanup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432446 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 15:08:32 +00:00
Thomas Neidhart
15e9fbcf46 Use Id tag instead of Revision + Date.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432429 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 14:22:59 +00:00
Thomas Neidhart
5957bdfe40 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432427 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 14:19:30 +00:00
Gary D. Gregory
268b725476 Remove unnecessary parentheses.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432026 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 13:02:50 +00:00
Dennis Lundberg
663137e8f0 Merge test for LOGGING-119 into the standard test class for WeakHashtable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1389022 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 11:33:16 +00:00
Dennis Lundberg
0e6e8aa66e Add a changes.xml file to track resolved issues, along with a template that can be used to generate a release log file. To be able to generate a release log we need to also update commons-parent, which will be done later.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1374846 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 20:49:01 +00:00
Dennis Lundberg
2ab43185ca Add the correct xml schemas to xml files.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1374840 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 20:33:05 +00:00
Sebastian Bazley
d02c93bf15 Allow test cases to run OK under Maven/Surefire
[does not seem to be needed for Ant testing]

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363622 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 02:04:03 +00:00
Sebastian Bazley
a2e0e2c06a LOGGING-148 - LogFactory.diagnosticPrefix and diagnosticsStream could be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363177 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 23:47:49 +00:00
Sebastian Bazley
7eada4cf49 LOGGING-147 - SimpleLog.log - unsafe update of shortLogName
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363173 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 23:30:03 +00:00
Sebastian Bazley
e8c77e524e Spelling
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363039 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 18:42:54 +00:00
Sebastian Bazley
2a9617af3b Make immutable private fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363037 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 18:32:49 +00:00
Sebastian Bazley
6f9fdc1198 LOGGING-128 - Static analysis suggests a number of potential improvements
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363030 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 17:58:22 +00:00
Sebastian Bazley
a00901e787 Remove obsolete comment; this class is only intended for use with log4j 1.2.x
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363011 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:37:56 +00:00
Sebastian Bazley
850fbd475b LOGGING-145 - LogFactoryImpl.setAttribute - possible NPE
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362996 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:08:15 +00:00
Sebastian Bazley
e2adf3571a Replace deprecated field references
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362982 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 15:34:45 +00:00
Sebastian Bazley
57b30e333b LOGGING-130 - Potential missing privileged block for class loader
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362978 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 15:19:22 +00:00
Sebastian Bazley
2904fe65df Unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362970 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:48:32 +00:00
Sebastian Bazley
8316eb1fa1 Test cases don't need main() methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362969 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:40:37 +00:00
Sebastian Bazley
b16794f11a Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362968 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:37:13 +00:00
Sebastian Bazley
821ac94474 Redundant null check
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362964 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:30:31 +00:00
Sebastian Bazley
cabf9b0bc0 Redundant null check: have already checked for null in enclosing conditional
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362962 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:29:17 +00:00
Sebastian Bazley
66c1dcbf47 Redundant semi-colons
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362959 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:14:29 +00:00
Sebastian Bazley
7297a70b96 Organize imports (don't use wildcards)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362902 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 12:08:08 +00:00
Sebastian Bazley
3f5848ecbf Increase number of loops to try again to cause Continuum to fail
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362740 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:48:25 +00:00
Sebastian Bazley
2b99f1c33c Double number of loops to try and Continuum to fail
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362738 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:26:31 +00:00
Sebastian Bazley
cd798d00eb Quieten Avalon tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362737 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:22:22 +00:00
Sebastian Bazley
c5b7fcfec2 LOGGING-119 deadlock on re-registration of logger
Added test case showing the problem

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362553 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 16:11:25 +00:00
Niall Kegan Pemberton
71068c7f1c COMMONSSITE-57 Fix announce mod_mbox link
(I used version 1.4-SNAPSHOT of the commons-build-plugin to do this - need to release it and update commons-parent at some point)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1005115 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 16:38:08 +00:00
Niall Kegan Pemberton
6fc06ad199 Generate custom Mailing List pages for components (using "mvn commons:mail-page")
See http://commons.apache.org/commons-build-plugin/mail-page.html

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@936225 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:29:42 +00:00
Niall Kegan Pemberton
7ae71ede58 Move/rename "xdocs" directory to standard m2 "src/site/xdoc"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@933590 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 13:04:51 +00:00
Niall Kegan Pemberton
5a5d966f6f Update components to point to the new download pages
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@923339 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 17:04:53 +00:00
Simon Kitching
36c73c13e2 LOGGING-127: Fix issue introduced in LOGGING-126 - use setUseCache, not setDefaultUseCache
Thanks to Christopher Sahnwaldt for the report.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@697387 13f79535-47bb-0310-9956-ffa450edef68
2008-09-20 16:33:51 +00:00