Hannes Wellmann
57d09eb9fc
[LOGGING-189] Add optional import for package org.slf4j.spi ( #232 )
...
Co-authored-by: Hannes Wellmann <Hannes@ICE-PC.fritz.box >
2024-03-17 11:30:55 -04:00
Gary Gregory
53e06aae74
Prepare for a release candidate
2024-03-17 10:36:24 -04:00
Václav Haisman
0f61b80588
[LOGGING-189] Fix Import-Package entry for org.slf4j. ( #188 )
...
* Fix Import-Package entry for org.slf4j.
* Use same number of components in version range for org.slf4j.
* Use versionmask macro to derive upper bound for SLF4J.
* Update pom.xml
Co-authored-by: Piotr P. Karwasz <piotr@github.copernik.eu >
---------
Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com >
Co-authored-by: Piotr P. Karwasz <piotr@github.copernik.eu >
2024-03-17 10:17:39 -04:00
Václav Haisman
446a642732
Allow Servlet 4 in OSGi environment. ( #191 )
...
Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com >
2024-03-17 10:06:44 -04:00
dependabot[bot]
ad2f53a838
Bump logkit from 1.0.1 to 2.0 ( #32 )
...
Bumps logkit from 1.0.1 to 2.0.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-17 09:59:23 -04:00
Gary Gregory
13b6f83294
Bump ch.qos.logback:logback-classic from 1.3.12 to 1.3.14
...
Bump ch.qos.logback:logback-core from 1.3.12 to 1.3.14
2024-03-16 18:43:42 -04:00
Gary Gregory
c1e4fefc56
Update from Logj 1 to the Log4j 2 API compatibility layer ( #231 )
...
* Update from Logj1 to the 2 API compatibility layer
* Update from Logj1 to the 2 API compatibility layer
2024-03-16 18:30:40 -04:00
Piotr P. Karwasz
71f4304533
Upgrade log4j-api to version 2.23.1 ( #230 )
...
* Bump log4j2.version from 2.22.1 to 2.23.1
Bumps `log4j2.version` from 2.22.1 to 2.23.1.
Updates `org.apache.logging.log4j:log4j-api` from 2.22.1 to 2.23.1
Updates `org.apache.logging.log4j:log4j-core` from 2.22.1 to 2.23.1
Updates `org.apache.logging.log4j:log4j-core-test` from 2.22.1 to 2.23.1
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-api
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core
dependency-type: direct:development
update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core-test
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Ban `spring-jcl` from the dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 15:03:15 -04:00
dependabot[bot]
c8a072c295
Bump org.apache.commons:commons-parent from 66 to 67 ( #225 )
...
Bumps [org.apache.commons:commons-parent](https://github.com/apache/commons-parent ) from 66 to 67.
- [Changelog](https://github.com/apache/commons-parent/blob/master/RELEASE-NOTES.txt )
- [Commits](https://github.com/apache/commons-parent/commits )
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-06 09:40:10 -05:00
dependabot[bot]
e5649f4a60
Bump com.h3xstream.findsecbugs:findsecbugs-plugin from 1.12.0 to 1.13.0 ( #222 )
...
Bumps [com.h3xstream.findsecbugs:findsecbugs-plugin](https://github.com/find-sec-bugs/find-sec-bugs ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/find-sec-bugs/find-sec-bugs/releases )
- [Changelog](https://github.com/find-sec-bugs/find-sec-bugs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/find-sec-bugs/find-sec-bugs/compare/version-1.12.0...version-1.13.0 )
---
updated-dependencies:
- dependency-name: com.h3xstream.findsecbugs:findsecbugs-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 09:45:55 -05:00
dependabot[bot]
031375391e
Bump org.slf4j:slf4j-api from 2.0.11 to 2.0.12 ( #207 )
...
Bumps org.slf4j:slf4j-api from 2.0.11 to 2.0.12.
---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 11:22:31 -05:00
dependabot[bot]
6b4d0e862b
Bump ch.qos.logback:logback-classic from 1.3.11 to 1.3.12 ( #212 )
...
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback ) from 1.3.11 to 1.3.12.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.3.11...v_1.3.12 )
---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 11:19:11 -05:00
Gary Gregory
5233eed4c5
Move low-edit section to the bottom
2024-02-10 10:21:36 -05:00
dependabot[bot]
6e3c91bebe
Bump org.apache.commons:commons-parent from 65 to 66 ( #204 )
...
Bumps [org.apache.commons:commons-parent](https://github.com/apache/commons-parent ) from 65 to 66.
- [Changelog](https://github.com/apache/commons-parent/blob/master/RELEASE-NOTES.txt )
- [Commits](https://github.com/apache/commons-parent/commits )
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 21:33:33 -05:00
dependabot[bot]
4e5954ff55
Bump org.slf4j:slf4j-api from 2.0.10 to 2.0.11 ( #197 )
...
Bumps org.slf4j:slf4j-api from 2.0.10 to 2.0.11.
---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 21:20:10 -05:00
Gary Gregory
21c9f8ca19
Add property project.build.outputTimestamp for build reproducibility
2024-02-02 18:24:01 -05:00
dependabot[bot]
6c4d329e90
Bump org.slf4j:slf4j-api from 2.0.9 to 2.0.10 ( #194 )
...
Bumps org.slf4j:slf4j-api from 2.0.9 to 2.0.10.
---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-29 06:56:52 -05:00
dependabot[bot]
950f1184d1
Bump log4j2.version from 2.22.0 to 2.22.1 ( #193 )
...
Bumps `log4j2.version` from 2.22.0 to 2.22.1.
Updates `org.apache.logging.log4j:log4j-api` from 2.22.0 to 2.22.1
Updates `org.apache.logging.log4j:log4j-core` from 2.22.0 to 2.22.1
Updates `org.apache.logging.log4j:log4j-core-test` from 2.22.0 to 2.22.1
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-api
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.apache.logging.log4j:log4j-core
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: org.apache.logging.log4j:log4j-core-test
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-27 11:31:49 -05:00
dependabot[bot]
370f0b1514
Bump log4j2.version from 2.21.1 to 2.22.0 ( #187 )
...
Bumps `log4j2.version` from 2.21.1 to 2.22.0.
Updates `org.apache.logging.log4j:log4j-api` from 2.21.1 to 2.22.0
Updates `org.apache.logging.log4j:log4j-core` from 2.21.1 to 2.22.0
Updates `org.apache.logging.log4j:log4j-core-test` from 2.21.1 to 2.22.0
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-api
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core
dependency-type: direct:development
update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core-test
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 10:18:49 -05:00
Gary Gregory
ef3b29a657
Spelling
2023-12-02 07:56:23 -05:00
Gary Gregory
b44cc36ba0
Bump to next development version
2023-11-30 07:34:33 -05:00
Gary Gregory
e0255a5845
Prepare for release candidate
2023-11-26 16:32:56 -05:00
Gary Gregory
115812fe62
Move PMD files to src/conf
2023-11-26 16:16:25 -05:00
Gary Gregory
c7588afa59
Move Checkstyle files to src/conf
2023-11-26 16:13:32 -05:00
Gary Gregory
82d61a586a
Configure SpotBugs
2023-11-26 15:22:36 -05:00
Gary Gregory
6777344670
Remove obsolete comment
2023-11-26 14:36:05 -05:00
Piotr P. Karwasz
80b2f78eb9
Set java.logging as optional module ( #183 )
...
Commons Logging has a fallback simple logger that is used if the
`java.util.logging` package is not present.
Originally this only could happen with Java 1.3, but sinc Java 9 the
user can disable the `java.logging` JPMS module. Commons Logging will
work anyway.
This PR slightly modifies the inherited Moditect configuration to add a
`static` (i.e. optional) modifier to the `java.logging` module.
2023-11-25 15:29:00 -05:00
Gary Gregory
b9785548d6
Enable PMD check in default Maven goal
2023-11-25 11:41:45 -05:00
Gary Gregory
1b1879d35d
Bump commons-parent from 64 to 65
2023-11-25 11:18:26 -05:00
Gary Gregory
282408972e
Remove obsolete option for PMD
2023-11-19 09:21:35 -05:00
Gary Gregory
23430edbb4
The parent POM defines JApiCmp instead of CLIRR
2023-11-19 09:15:59 -05:00
Gary Gregory
c64aa18b34
Replace FindBugs with SpotBugs
2023-11-19 09:10:37 -05:00
Gary Gregory
b10322e41e
Use Checkstyle sortStaticImportsAlphabetically
2023-11-19 09:01:36 -05:00
Gary Gregory
0b9cd8bb83
Remove old comment
2023-11-19 08:55:21 -05:00
Gary Gregory
cd210b5d9b
Use HTTPS
2023-11-19 08:43:46 -05:00
Gary Gregory
d082a5dc2a
Bump commons-parent from 59 to 64
2023-11-19 08:41:24 -05:00
Piotr P. Karwasz
6ad06e9074
LOGGING-185: Fix failing tests ( #180 )
...
* Fix names of deployed artifacts
We remove the obsolete `finalName` property and fix the Maven Failsafe
executions.
* Fix failing tests
* Reenable integration tests
* Disable SecurityManager tests on Java 21
* Simplify build workflow
* Set `fail-fast` to false
* Fix NPEs caused by `String.trim()`
* Span a different JVM per test case
2023-11-18 19:36:11 -05:00
Piotr P. Karwasz
946711e0a6
Add support for Log4j API and SLF4J ( #177 )
...
The logging backends supported by the default `LogFactoryImpl` have all
reached their end-of-life (except JUL and `SimpleLog`). Third-generation
logging backends, such as Log4j Core, support multiple logger contexts
per application and therefore can not be handled by the simplified
caching mechanism in `LogFactoryImpl`.
This PR introduces two new `LogFactory` implementations,
`Log4j2LogFactory` and `Slf4jLogFactory`, that forward messages to the
Log4j API and SLF4J.
During initialization the three existing factories are checked in the
following order:
1. the `Log4j2LogFactory` has highest priority, since the Log4j API can
faithfully transmit messages of type `Object`,
2. the `Slf4jLogFactory` is the next choice. However, if the
Log4j-to-SLF4J bridge is present we log directly through SLF4J
instead of the Log4j API.
3. the legacy `LogFactoryImpl` has lowest priority.
2023-11-03 11:19:14 -04:00
Gary Gregory
830cebc584
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging.git
2023-10-27 14:56:59 -04:00
Gary Gregory
f9bc48b201
Add self
2023-10-27 07:50:52 -04:00
Gary Gregory
8dd3a59429
Fix Maven warning
...
[WARNING] Parameter 'headerFile' is unknown for plugin
'maven-checkstyle-plugin:3.2.2:check (default-cli)'
2023-10-26 11:58:35 -04:00
Sebb
0cb015a32e
Pom is broken for the verify goal
2023-10-25 20:17:54 +01:00
Sebb
e4d68bb370
Standardise on verify goal
2023-10-25 16:57:18 +01:00
Piotr P. Karwasz
ca2cdfee81
[LOGGING-186] Replace custom code with ServiceLoader call ( #171 )
...
* Replace custom code with `ServiceLoader` call
* Files should end with an empty line
* Files should end with an empty line
* Comment empty block
* Comment empty block
---------
Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com >
2023-10-18 16:47:48 -04:00
Gary Gregory
863d5612c2
64 is OK locally but not on GitHub
2023-10-10 17:29:59 -04:00
Gary Gregory
e0ca622ebd
Bump commons-parent
2023-10-10 15:23:26 -04:00
Gary Gregory
a8cb6995dc
Remove duplicate property
2023-09-02 12:06:20 -04:00
Gary Gregory
e3923d5d59
Update release versions
2023-09-02 12:06:10 -04:00
Gary Gregory
b9464ace50
Fix Maven jar plugin invocation
2023-09-02 11:57:04 -04:00
Gary Gregory
3315279848
Comment
2023-08-30 14:21:23 -04:00